react-native-gallery
react-native-gallery copied to clipboard
Feature request: ability to get control over the responder on parent view
Hi, I love this library I think its a really great amount of good work, but I would like to more functionality to this module, I would like to be able to get control over the gesture responder, this is because I want to implement a feature of swipe up/down to dismiss the gallery, just like Facebook does.
Please let me know if this conflicts with the plans for this plugin and if not can you point me to the right direction to make this change? for what I see its part of this repo.
Thanks!
@fernando-sendMail
Thanks.
I think it is a great feature and the iOS system gallery has this feature(swipe down or pinch to dismiss). I'm going to implement it! (in a few days, I guess)
If you are in a hurry, pls check library/Gallery.js
and focus on onResponderMove
block. All code modification will be in this file.
An update on this please? I've searched for "swipe" or "dismiss" in this repo and can't find anything, docs or otherwise on whether there's a way to implement a swipe to dismiss action on the gallery's containing modal.
I assume the current way of using this library would be a Close button, as an overlay in the modal? Seems like an obvious omission to add such standard dismissal mechanism.
A pointer on the current state of what's been implemented in regards to gallery modal dismissal would be appreciated.
I have same issue here, can not dismiss at all :(