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

Pinch to zoom not working on Android/Chrome #20

Open
winzig opened this issue Aug 5, 2018 · 10 comments
Open

Pinch to zoom not working on Android/Chrome #20

winzig opened this issue Aug 5, 2018 · 10 comments

Comments

@winzig
Copy link

winzig commented Aug 5, 2018

When you load a flickity image fullscreen using this module, on Android/Chrome, pinch-to-zoom is not working. It works fine on iOS, however. It also works on Android in the Samsung Internet Browser app. I am able to reproduce this using the fullscreen demo here.

Is this a known issue, or should I keep digging further?

@desandro
Copy link
Member

desandro commented Aug 9, 2018

Thanks for reporting this issue. I'll have to take on an Android device. Can you report what version of Chrome you are using?

@winzig
Copy link
Author

winzig commented Aug 9, 2018

@desandro Chrome 65.0.3325.109, thanks

@winzig
Copy link
Author

winzig commented Aug 9, 2018

Currently running Android 8.1, but I was also reproducing it a few days ago on 8.0, FWIW.

@smickar
Copy link

smickar commented Dec 4, 2018

Try in javascript change touchActionValue="pan-y" to touchActionValue="pan-y pinch-zoom", it helped me.

@ptrsmk
Copy link

ptrsmk commented Nov 11, 2019

I ran into this as well. Pinch-to-zoom fails on fullscreen using a variety of browsers on Android 10, Pixel 2.

@canonicalized
Copy link

Try in javascript change touchActionValue="pan-y" to touchActionValue="pan-y pinch-zoom", it helped me.

Thanks a latte!

@jibinycricket
Copy link

Try in javascript change touchActionValue="pan-y" to touchActionValue="pan-y pinch-zoom", it helped me.

Where would you do this?

@aariacarterweir
Copy link

To change default for all uses of flickity:
Flickity.prototype._touchActionValue = 'pan-y pinch-zoom';

(do this before instantiating of course)

@spacecat
Copy link

spacecat commented Nov 16, 2020

Any updates on this one?

PS. n._touchActionValue="pan-y pinch-zoom" did not work for me on my Samsung Galaxy S8. I'm using:

Chrome 86.0.4240.198
Android 9

PPS: Seems to be working now. Caching issue.

Will this change break anything else?

@dpw1
Copy link

dpw1 commented Sep 30, 2021

To change default for all uses of flickity: Flickity.prototype._touchActionValue = 'pan-y pinch-zoom';

(do this before instantiating of course)

It works on the latest Flickity's version. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

9 participants