Riron / ionic-img-viewer

Ionic 2+ component providing a Twitter inspired experience to visualize pictures.
MIT License
283 stars 118 forks source link

iOS - Have to tap multiple times to zoom again if "<- Back" button is used previously to zoom out #118

Open joseluron opened 6 years ago

joseluron commented 6 years ago

Please provide you version information :

@ionic/app-scripts : 2.0.2
Cordova Platforms  : ios 4.5.1
Ionic Framework    : ionic-angular 3.8.0
ionic-img-viewer   : 2.8.0

Have you checked...

[ ] That npm install returns no warning ? [x] Doing a purge of your node_modules folder ?


Hi!

We are having this issue were, if the image in iOS is zoomed out by using the back button, we have to tap multiple times to zoom the same image again. In Android there is no issue.

We thought it migth be related to having the images inside an ion-slider, however, in images isolated using just an <img> tag, it also happens.

If zoomed out by swiping up or down, this issue doesn't happen, as we can zoom the image again instantly. It only happens if the back button is used.

Does anyone has or had this same issue? Any idea on what could be causing it?

Thanks!

yliu138 commented 4 years ago

I have experienced the same issue, have you managed to solve this?