-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Chrome update 55 in Android - fabric js zoom breaking #3687
Comments
can you try the latest master? i inserted something about the touch events that now are to be made passive. |
HI @asturur thanks for your prompt reply. |
It's a breaking change in Chrome latest version - hopefully they change their minds on it - but it's forcing It's easy to replicate in desktop Chrome by opening the Dev panel, and turning on device emulation (the tablet / phone icon in the top left). The end result of their change is that you cannot call |
So is what we did for one event but we have to do for them all. So all touch event. good. Doing it now. setting { passive: false } and add also touch-action to the canvas since for edge is necessary i guess. |
Unfortunately Edge (and IE) don't support an |
yes but edge needs the touch-action. |
Adding touch-action:none on the canvas didn't help in my case, but adding it in the main container worked for me. |
check this. |
After updating to the latest version of chrome 55 in Android (mine is HTC 816, but the issue is reflecting in other devices as well), pinch zoom functionality is broken in the latest version of fabricjs.
Whats new in chrome update 55 related to touch events is here - https://developers.google.com/web/updates/2016/11/nic55
A similar issue was there in the jquery panzoom library after the latest chrome 55 update - timmywil/panzoom#310
On zooming an object on canvas, the entire browser responds to the event and zooms instead.
@kangax @asturur any clue about this issue?
The text was updated successfully, but these errors were encountered: