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

[Issue] - shouldCloseViewer and zoomed image compatibility issue #23

Open
crank-chips opened this issue Jun 20, 2023 · 2 comments
Open

Comments

@crank-chips
Copy link

crank-chips commented Jun 20, 2023

Platforms: iOS, Andorid

With using shouldCloseViewer={({gesture}) => gesture === GestureEnum.Tap} to disable closing viewer on a single tap.
When the image is zoomed in and a single click/tap on the image it zoomed out, shifts off-center, and the black background becomes half transparent

single_tap_bug.mov
@crank-chips crank-chips changed the title [iOS, Android] - shouldCloseViewer and zoomed image compatibility issue [ISSUE] - shouldCloseViewer and zoomed image compatibility issue Jun 20, 2023
@crank-chips crank-chips changed the title [ISSUE] - shouldCloseViewer and zoomed image compatibility issue [Issue] - shouldCloseViewer and zoomed image compatibility issue Jun 20, 2023
@llr101
Copy link
Collaborator

llr101 commented Jul 7, 2023

Could you try version 1.3.1 to see if the problem can be reproduced?

@crank-chips
Copy link
Author

Yes, it's still reproducible on 1.3.1 on both platforms

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