This repository has been archived by the owner on Sep 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 650
how can i close all opened swipe、only can open one swipe at the same time? #54
Comments
+1 I'm looking to close the open swipeout item when scrolling the Scrollview |
I think it will work with onOpen, _close method in Swipeout and componentWillReceiveProps lifecycle in ListView item component. |
+1, now i am directly use a ref to call _close |
+1. using |
@hufeng i am directly call _close too, but it can not work, can you show your code? |
+1. I'm using _close too. |
@xuanpyco Hi, can you provide me with your solution? Becuase I use ref, call _close and it does not work. Thanks in advance |
@olejka91 I ended up a solution as following.
|
@xuanpyco I just replaced this library with a react-native-swipe-list-view. Thanks for reply |
zuoyoulian
pushed a commit
to zuoyoulian/react-native-swipeout
that referenced
this issue
May 7, 2018
fix warnings about keys for dots
thanks @xuanpyco sir, your solution worked for me. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
i wish can close an opened swipe,the way ?
if i swipe a row's button, when i swipe at another row, i hope close other swipe, how ?
@dancormier
The text was updated successfully, but these errors were encountered: