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
Two-Finger gestures disabled when dragging disabled in samsung browser #5969
Comments
Hi, thanks for reporting. I don't have access to the Samsung Internet Browser, so it will be hard for me to verify this, but it sounds like this might be a duplicate of, or at least similar to #5779. Fortunately, there's #5952 which should address this. If possible, could you try out this fix and see if it works for you? |
I don't think it's related to #5952, since it fixes an issue with |
@perliedman You can download the Samsung Browser on any Android-device. I verified on my Huawei that its not just the Samsung-Devices but also on other devices using this browser. |
I have downloaded the Samsung Browser to my HTC device and confirm the issue is there in that with dragging disabled, 2 finger interactions are also stopped.
Hopefully this helps point in the right direction for a fix. |
Looks similar to #5425 |
Still reproducible with latest master. But can be fixed applying #7029: |
This also could be fixed with Just add This is needed to activate this rule: Lines 68 to 71 in d843c3b
|
My explanation: when only Lines 58 to 61 in d843c3b
In theory that should prevent browser's native pinch-zoom, thus allowing us to use two-finger gesture on map. But for unclear reason Samsung browser still applies whole page pinch-zoom. So I tend to think that proper way to fix this issue - apply #7029. |
BTW, I found why Samsung browser behaves in such way: the culprit is option Immediately after turning it off touchZoom get working again. |
Are there any updates on this issue? I am experiencing the same problem in Samsung Internet. I'm using the Leaflet.GestureHandling plugin and setting Does #7026 solve the issue and will it be merged anytime soon? |
So why not disable |
That may solve the issue for me but it wouldn't solve the issue for thousands of my users unfortunately. Samsung Internet makes up ~ 9% of my userbase so its not an option. |
Good point.
It'd be cool if you test |
I forked and merged #7026 yesterday, I don't have an Android device to test with unfortunately but one of my colleagues confirmed it didn't fix the issue in Samsung Internet. Whether or not it breaks anything else I cannot say for certain, in our usecase with raster tiles, zoom +/- and a marker popup, everything seemed to function normally. |
Well, there is mistake: 7026 originated from my message, perhaps it should be #7029 instead. |
I use the Samsung Internet Browser from my tablet and verified the issue with my Huawei smartphone by downloading the Samsung Internet Browser.
When I do "draggable: false", it also disables to pan with 2 fingers on the Samsung Browser but in none of the other browsers I tested. (Chrome, Firefox, IE, Edge, Safari)
How to reproduce
Just use any example from the leaflet docs and disable dragging.
What behaviour I'm expecting and which behaviour I'm seeing
I can not use 2 fingers to do 2 finger gestures like panning/zooming.
I expected it to do so, since all other browsers do.
Minimal example reproducing the issue
https://plnkr.co/edit/Xm59tidxPV804zsBlopu?p=preview
The text was updated successfully, but these errors were encountered: