-
Notifications
You must be signed in to change notification settings - Fork 10
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
Dragging on touch starts too late (ontouchend) – with video #98
Comments
Have a look at this 19sec video that demonstrates the issue |
Here's a reduced testcase: The above described unexpected behaviour should be able to be reproduced on an iPad. However, if I first touch until the tooltip shows and than touch again the same – now highlighted – cell, the drag works as expected |
The WebGLStyle doesn’t exhibit the described issue, dragging on touch is instant as it should, see |
For some reason... CanvasRenderingContext2D.drawImage() ...updates the canvas during desktop pan events, but not on mobile. Line 218 in 4fed315
I've tried to fix it but no luck so far. I will keep investigating! |
For some reason this issue doesnt happen for me (on android) when the viewport meta tag is omitted from the HTML document head: On mobile: This works: https://eurostat.github.io/gridviz/examples/styles/joyplot_shading.html (without tag) Of course by removing the meta tag, the zoom buttons and placenames are not scaled correctly so this is not a solution. Im not yet sure why this affects the panning and zooming. And why it works well with webgl but not with 2D canvas. |
This issue appears to be solved as of v3.0.17. (tested on android) |
Dragging/Panning the map on a current iPad pro running iOS 16.5.1 I experience the following – even without WMS background layer:
Will post a video of the observed behaviour versus the expected one.
The text was updated successfully, but these errors were encountered: