-
Notifications
You must be signed in to change notification settings - Fork 647
[enhancement] Trigger opening/close programmatically #118
Comments
Check out my branch: https://github.com/markrickert/react-native-swipeout/blob/master/swipe_out/swipe_out.js Specifically the _openLeft and _openRight functions. |
Great fork, I see tons of useful features there. I can't wait to test it :-) Thanks |
Yeah, unfortunately, the original author is kind of MIA so no features are being merged into master right now.
Word is that facebook will be adding an official swipe component soon so don't get married to this component.
|
@markrickert sorry for the delay in testing it. EDIT : Adding after |
Hi @mlumbroso , |
I too have this problem. I fixed changing the index.js as:
|
@markrickert I just created a pull request for the width change. |
I'm currently working on this myself. I've done pretty much what you did @markrickert but returned a Promise from the Currently my only issue is that if I use the button to manually open the swipe menu on several items, close them, then swipe one of those open, all of the manually opened ones open and their state is then tied together on future swipes. Not sure how that's working since this is a class but thus far I'm blaming You can check out my branch here. |
@alburdette619 thank you for sharing. |
@RUIFERNANDE5 Here you go. I stripped down my code to just highlight the state changes and events. The left menu should work in much the same way just using the I solved the issue I noted above btw.
|
@alburdette619 its working like a charm, thank you. |
@RUIFERNANDE5 Huh, so you're pressing the row itself or a touchable you've mapped to |
@alburdette619 Sorry for the late response. Should I open an issue on your branch instead? As soon as I can I will show you a demo of what is happening |
@RUIFERNANDE5 Yeah, that's fine. I've opened a PR but I haven't heard anything back on it. |
Hello guys! I taked @alburdette619 and upgraded it in order to use with new React Native versions. Check it out! https://github.com/CandyOgre/react-native-swipeout |
Hi,
is it possible to open the swipe overlay programmatically?
If not, is it hard to perform? I could help with a PR if you give me directions on how to do so :-)
Thanks for this cool package !
The text was updated successfully, but these errors were encountered: