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

Fixes chrome dragging issue #5779 #5951

Closed
wants to merge 1 commit into from

Conversation

sukh-r
Copy link

@sukh-r sukh-r commented Dec 5, 2017

Fixes chrome dragging issue on mobile chrome.

Issue #5779 reported that if map.touchZoom.disable(); was called, you would not be able to drag properly on Chrome mobile browsers. Which is true as I faced the same issue. You can see that this works again using chrome dev tools once you change to a mobile device.

This is similar CSS to version 0.7.7.

Fixes chrome dragging issue on mobile chrome
Copy link
Collaborator

@cherniavskii cherniavskii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
Indeed those CSS lines are present in older Leaflet versions, but were removed in #4552 in order to enable native page scroll when touch zoom and map drag handlers are disabled.

@cherniavskii
Copy link
Collaborator

@sukh-r #5952 should fix that

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

Successfully merging this pull request may close these issues.

2 participants