+ Start a Discussion
Iago SilvaIago Silva 

LWC: issue on zoom or resize the window

Hello everybody !!

I'm working on a LWC and I'm using Leaflet and LeafletDraw js libraries.

It work's fine but when I resize or zoom the window,  the component overtake its space in the container.

Someone know how to fix it?

Image 1: before resize the window
User-added image

Image 2: after resize the window

User-added image
AbhishekAbhishek (Salesforce Developers) 
The below blog might answer your query,


For further reference check the below,

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Iago SilvaIago Silva
In these links they talk about event listener on resize action, how could this help me?