Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swipe-to-dismiss from top or bottom? #5

Open
tconroy opened this issue Jun 29, 2023 · 1 comment
Open

swipe-to-dismiss from top or bottom? #5

tconroy opened this issue Jun 29, 2023 · 1 comment

Comments

@tconroy
Copy link

tconroy commented Jun 29, 2023

Awesome job on this, easily one of the better RN image viewers out there right now!

I am rendering my image in a modal (iOS) and I noticed that I can only swipe to dismiss by swiping upwards, not downwards.

Would it be possible to make the swipe-to-dismiss direction user configurable?

@griffinbaker12
Copy link

griffinbaker12 commented Jul 6, 2023

I will write a patch for this soon in my own app, but all you need to do is just copy the threshold for up in the same way as down, should be pretty straightforward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants