Skip to content
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

Panning and interactivity Safari bug #14115

Closed
rochoa opened this issue Jun 26, 2018 · 4 comments
Closed

Panning and interactivity Safari bug #14115

rochoa opened this issue Jun 26, 2018 · 4 comments
Assignees

Comments

@rochoa
Copy link
Contributor

rochoa commented Jun 26, 2018

Context

From https://twitter.com/danc00ks0n/status/1011247564748967936

Chrome

pan-interactiviy-chrome

Safari

pan-interactiviy-safari

Current Result

Safari doesn't handle the panning event properly and it triggers the interactivity action.

Expected result

Safari should work as Chrome does: panning should take precedence over interactivity.

@rubenmoya
Copy link
Contributor

I can't reproduce it using Safari Version 11.1.2 (12605.3.8.1)

@harry-wood
Copy link

Trying with safari 11.1.2 (13605.3.8) just now. I still see the bug on the BBC article there. I notice the effect is a little glitchy there, partly because the map starts panning a little bit as I drag the mouse over the river Thames (moving off the data polygons I guess). But mostly the panning isn't working.

@rubenmoya
Copy link
Contributor

rubenmoya commented Aug 7, 2018

So, it doesn't happen with points, but it does with polygons.

It seems like a leaflet bug, the events that leaflet fires in chrome are mousemove to get to the point you want to drag and then predrag, drag and move when clicking and dragin, whilethe events triggered in safari are click and mousemove.

Should we open this issue in Leaflet?

UPDATE: Nevermind, it was a problem with https://github.com/CartoDB/zera

@rubenmoya
Copy link
Contributor

Fixed in #14225

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants