Leaflet.markercluster
Leaflet.markercluster copied to clipboard
Certain marker clusters are not visible during touch on mobile devices
- [x] I'm reporting a bug, not asking for help
- [x] I'm sure this is a Leaflet.MarkerCluster code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
- [x] I've searched through the issues to make sure it's not yet reported
How to reproduce
- Leaflet version I'm using:
1.9.2
(also tested with1.0.3
) - Leaflet.MarkerCluster version I'm using:
1.5.3
- Browser (with version) I'm using: Google Chrome 107.0.5304.141
- OS/Platform (with version) I'm using: Android
- Go to: https://leaflet.github.io/Leaflet.markercluster/example/marker-clustering-realworld.388.html
- Move the map so that some markers are no longer visible. Now move these markers into the visible area. The markers are invisible as long as the display is touched.
https://user-images.githubusercontent.com/13857929/204811705-92ef8e4f-ea8d-4346-a82c-347efbdab7c0.mp4
What behaviour I'm expecting and which behaviour I'm seeing
I expect the same behavior as in Chrome on my Mac. As soon as the markers are dragged into the visible area, they should be visible, regardless of whether a touch event is still active or not.
Minimal example reproducing the issue
- [x] this example is as simple as possible
- [x] this example does not rely on any third party code
https://leaflet.github.io/Leaflet.markercluster/example/marker-clustering-realworld.388.html
This is happening to me also for tooltips