Leaflet / Leaflet.fullscreen

A fullscreen control for Leaflet
http://leaflet.github.io/Leaflet.fullscreen/
ISC License
436 stars 117 forks source link

Problem with sidebar (disappears) #73

Closed ludovico85 closed 6 years ago

ludovico85 commented 6 years ago

Hi, I've used the sidebar v2 https://github.com/Turbo87/sidebar-v2 to add a sidebar to my map. In full screen mode (as implemented by the leaflet.fullscreen) the sidebar disappear. A similar issue was highlighted here https://github.com/Turbo87/sidebar-v2/issues/19 ad seems to be a problem related with the fullscreen instead of the sidebar directly.

Is there a solution?

Thank you

jfirebaugh commented 6 years ago

The sidebar must be a child of the map container element (the one with the leaflet-container class).