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

Cannot pinch in iOS #70

Open
cheeka13 opened this issue Sep 11, 2023 · 2 comments
Open

Cannot pinch in iOS #70

cheeka13 opened this issue Sep 11, 2023 · 2 comments

Comments

@cheeka13
Copy link

I cannot use pinch completely in real iOS devices, but still be able to use double tap to zoom in the same view.

@jjstobbe
Copy link

I experienced this issue as well. After a lot of trial and error, I realized that it was because I wasn't using the latest version of the package. Installing the package as recommended by the README will actually install a version that doesn't work correctly.

Specifically I was doing this 👇, which installed a problematic 2.2.0 version. In that version I could not pinch to zoom in iOS, also some of the latest features of this library weren't available.

yarn add @openspacelabs/react-native-zoomable-view

I had to specify the version to pull in the correct package. At the time of writing, the latest version is 2.1.5.

yarn add @openspacelabs/[email protected]

I'm unsure where the 2.2.0 version is coming from, but it would be nice if it was deleted (if that's possible), or overwritten with a more correct version.

@elliottkember
Copy link
Collaborator

@jjstobbe That's interesting. I wonder whether your yarn had a problem with the cache. I just ran that command locally and got the 2.1.5 version that I was expecting.

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

3 participants