Open offeringofpie opened 2 years ago
yeah that was already there in the default implementation of Leaflet for Svelte, but it doesn't work... ever since I made the container larger for some reason it jumps down when resizing - weird one
It's also a fringe issue, no?
The only situation I see that we have to seriously account for window resizing is when rotating a phone screen.
@lemiffe will this help? https://leafletjs.com/reference.html#resizeevent or https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver or something like: