webgl-map icon indicating copy to clipboard operation
webgl-map copied to clipboard

issue with pan/zoom mobile interactions on iOS?

Open gregsadetsky opened this issue 3 years ago • 0 comments

Hey there!

I left this comment on Hacker News.

I've started to dig into it a tad more:

  • simply testing the example on Hammer's homepage on mobile (I'm using Safari 15.6 on iOS 15.6.1) does work. Panning works correctly. Pinch to zoom works correctly, although because rotation is also implemented in their example, there's a little bit of a feeling-of-a-glitch when pressing down with two fingers. I think that without rotation detection it would be completely correct.
  • after testing your examples one by one, I see that reproducing the panning issue (e.g. where moving your finger to pan moves the map by an amount that seems to be multiplied by some factor -- giving a "sped up panning" effect) is actually not easy. Some of the initial examples pan correctly, but then, out of the blue, one of the examples will show the "super pan" behaviour. If I reload the page, the same example that didn't work will start working... but if I pan more examples, at some point, one of them will start panning incorrectly
  • the zoom gesture definitely does not work, even after reloading the page (i.e. it reproduces immediately)

gregsadetsky avatar Aug 18 '22 17:08 gregsadetsky