Skip to content

Conversation

nrenner
Copy link
Contributor

@nrenner nrenner commented Feb 17, 2020

Suggestion to fix #255 by moving the L.Browser.touch check from the expand option clause down to the event type.

This way the default expand=touch option always works with desktop browsers, independent of their touch/pointer support.

Leaflet itself uses the same expression in Draggable.js

Tested with Chrome and Firefox and their mobile screen emulators only.

nrenner added a commit to nrenner/brouter-web that referenced this pull request Feb 20, 2020
@simon04 simon04 merged commit b8ebba1 into perliedman:master Feb 22, 2020
@simon04
Copy link
Collaborator

simon04 commented Feb 22, 2020

Awesome, thank you so much for investigating and fixing this issue!

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.

Search field diappears in Safari
2 participants