Window resize Leaflet override

Hello,

I am attempting to resize a window that I have positioned in front of a widget running Leaflet (third-party map). Leaflet seems to have a mousemove event that overrides the resize, preventing me from resizing the window properly while my mouse is over Leaflet.

Do you have any suggestions of what to do?

Thanks

Tagged:

Comments

  • Unfortunately, it is a common behaviour of iframes - even native mouse events of the main page cannot be tracked over iframe.

    As a solution, the Webix iframe component can be disabled: https://snippet.webix.com/y2bxe39v
    A native HTML iframe will not prevent the mouse events only for a modal window.

    The main approach in both options if to cover an iframe with a div which will cover the iframe and prevent interception of events.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion