anything inside the control using mouse dragging such as sliders and ranges inside the control do not fire.
However, I've managed to find a workaround by replacing
Since we only care about the map not being moved when we're changing stuff inside the control, we can simply disable the map being dragged. This will not stop any events from propagating inside the control, so the aforementioned leaflet events should work both on mouse and touch devices.
Let me know what you think and if this is PR-worthy.
I've discovered that due to
DomEvent.disableClickPropagation(_controlDiv);
anything inside the control using mouse dragging such as sliders and ranges inside the control do not fire. However, I've managed to find a workaround by replacing
with
Since we only care about the map not being moved when we're changing stuff inside the control, we can simply disable the map being dragged. This will not stop any events from propagating inside the control, so the aforementioned leaflet events should work both on mouse and touch devices.
Let me know what you think and if this is PR-worthy.