react-native-gallery icon indicating copy to clipboard operation
react-native-gallery copied to clipboard

Feature request: ability to get control over the responder on parent view

Open fernando-sendMail opened this issue 7 years ago • 3 comments

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 avatar Jul 22 '16 23:07 fernando-sendMail

@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.

ldn0x7dc avatar Jul 25 '16 06:07 ldn0x7dc

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.

fungilation avatar Apr 28 '17 01:04 fungilation

I have same issue here, can not dismiss at all :(

ducpt2 avatar Oct 16 '17 14:10 ducpt2