Closed opoto closed 6 years ago
I tried to have a look at the code, but it is beyond my competencies. Does anybody have any hint on what is going wrong? This completely breaks apps using this plugin on Android/Chrome. Thanks
This is also reproducible using Chrome DevTools, with device emulation enabled (second icon in the top left).
Did you find out between which versions this broke? It's affecting my site as well and I'll have to consider downgrading until this is fixed.
As for what's going wrong, my wild guess is that there are different events (touch?) being emitted on mobile.
Can confirm this issue on Chrome for Windows on a Microsoft Surface Pro 4.
Actually it doesn't seem to be specific to Leaflet.Editable: I see there is the same issue with Leaflet.PM. This is probably an issue in Leaflet itself (or in Chrome, but might be tricky to get it fixed there...).
possibly related to https://github.com/Leaflet/Leaflet/issues/5646?
Yes, this looks to be the cause of the issue! Thanks for spotting it.
right, leaflet editable doesnt work on android-chrome : cannot create marker/polyline/polygon ! In Apple (iphone and ipad) does it work ?
Yes, works fine on Safari for iOS. As well as on Firefox, Samsung browser, Chrome on Windows... Just failing on Chrome/Android
@opoto : Chrome for Windows does not work for me on a Microsoft Surface Pro 4...
Following various upgrades (Android, Chrome, Leaflet, Leaflet.Editable...) it works now. So I'm closing this ticket
I don't know about the root cause, but I noticed Leaflet.Editable does not work properly anymore on Chrome for Android. To reproduce: