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

Double tap to zoom v 3.0.8 #20

Open
piotrponikowski opened this issue May 5, 2020 · 1 comment
Open

Double tap to zoom v 3.0.8 #20

piotrponikowski opened this issue May 5, 2020 · 1 comment

Comments

@piotrponikowski
Copy link

piotrponikowski commented May 5, 2020

Will double tap to zoom in be available also in version 3.x?

In version 2.x double tap was working with both zoom in and zoom out based on current scale, however in version 3.x only zoom out is implemented.

BTW good job with replacing react-native-image-zoom and thank you for keeping module up to date!😄

@piotrponikowski piotrponikowski changed the title Double tap to zoom Double tap to zoom v 3.x May 5, 2020
@piotrponikowski piotrponikowski changed the title Double tap to zoom v 3.x Double tap to zoom v 3.0.8 May 5, 2020
@barrsan
Copy link
Owner

barrsan commented May 6, 2020

Hey, @piotrponikowski!

Thanks for issue and feedback!

Currently, it is not planned to implement zoom in / zoom out on double tap. In version 3, double tap works as a reset to x = 0, y = 0, scale = minimum available value. Something similar is implemented in instagram on this screen.
IMG_00621

When I have more free time, I will try to implement zoom in / zoom out on double tap as in react-native-image-zoom as additional functionality.

If you have a desire to help in the development of the component, I will be happy with your PR )

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