-
Notifications
You must be signed in to change notification settings - Fork 770
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
Maps do not pan in Chrome 55 or Microsoft Edge #1510
Comments
@NavidZ @mustaqahmed FYI |
Oh, great, thank you! I have tested this on our use of OL2 on https://github.com/mysociety/fixmystreet and have found that I need to put the touch-action: none on olMap, not olMapViewport, for it to work (it did work on olMapViewport on the cut-down version I supplied, sorry, I’m not sure what would cause the difference) – putting it on olMapViewport led to it registering the start of a drag but then stopping after only a pixel or two movement. |
Thanks to Dave Tapuska and Chrome team: https://bugs.chromium.org/p/chromium/issues/detail?id=670942 openlayers/ol2#1510
Thanks to Dave Tapuska and Chrome team: https://bugs.chromium.org/p/chromium/issues/detail?id=670942 openlayers/ol2#1510
We shipped Pointer Events in Chrome 55 and discovered that this library adds pointer event listeners and touch event listeners.
I believe there are two problems with the code
ol2/lib/OpenLayers/Events.js
Line 676 in 75716be
Instead of always adding the event handler?
https://github.com/openlayers/ol2/blob/master/theme/default/style.css#L8
@dracos I believe these fixes will address the issue you logged against Chromium
The text was updated successfully, but these errors were encountered: