Cannot pinch in iOS
Opened this issue · 2 comments
I cannot use pinch completely in real iOS devices, but still be able to use double tap to zoom in the same view.
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/react-native-zoomable-view@2.1.5
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.
@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.