Closed byzod closed 5 years ago
When zoom in the page, Firefox for Android returns wrong touch positoin and scroll position. (since FF 65?) Perhaps I will not be able to fix this. Plz wait firefox is fixed. Thx for your review.
Canvas
Layout-Viewport (for zoom and smooth scroll. I can't get this scroll position.)
Visual-viewport (Javascript returns scorllX based on this.)
documentElement
At last, I can get the position of VisualViewport ! https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport
Try update Simple-Gesture to 2.14.1, open about:config
and set dom.visualviewport.enabled
to true
.
The gesture size detection is relative to the page size, but not the screen space.
Thus if you zoom in the page, you need to draw bigger gesture to trigger it. If zoom in too near, it's impossible to trigger any gesture.