leaflet.fullscreen icon indicating copy to clipboard operation
leaflet.fullscreen copied to clipboard

Updates to mouseclick handlers

Open skirridsystems opened this issue 4 years ago • 4 comments

Prevent click and drag on the button from dragging the map. Return focus to the map after the click is handled.

skirridsystems avatar Apr 30 '21 15:04 skirridsystems

Could you provide a complete description to reproduce this bug on the demo file ?

brunob avatar May 10 '21 20:05 brunob

Left click and drag on the fullscreen button. Observe that the map moves. Compare with +/- buttons where click and drag does not start a map move.

Maybe we don't need the doubleclick handler. I looked at the button handlers in another plugin for inspiration, unfortunately I don't remember which one now.

skirridsystems avatar May 10 '21 21:05 skirridsystems

I just tried to reproduce this effect on the demo page, but I don't see it in my test environment (win10, current firefox or chrome).

What configuration do you use?

BePo65 avatar Oct 07 '23 05:10 BePo65

Same here with FF 118.01 on Ubuntu 20.04, i think we can close this one.

brunob avatar Oct 07 '23 17:10 brunob