Turbo87 / leaflet-sidebar

A responsive sidebar for Leaflet maps
http://turbo87.github.io/leaflet-sidebar/examples/
MIT License
487 stars 157 forks source link

sidebar blocks other buttons #45

Closed kaio328 closed 7 years ago

kaio328 commented 7 years ago

Hey,

while everything works fine on local devices (firefox/chrome), i got the following problem on mobile devices: When the sidebar is active and displayed on the map, i cant click any of my other buttons (f.e. locate button, search button). But im able to pan through the map. Any solution to fix this prob?

Greetz from Germany

Turbo87 commented 7 years ago

@kaio328 without any example code I can't help you. do you have a reproduction somewhere?

kaio328 commented 7 years ago

mh unfortunatly not :/

is there any quick fix via stylesheet? i tried stuff like sidebar.BringToBack(); and removed line 65-71 from L.Control.Sidebar.js ! But the sidebar still blocks everything except panning through the map.

adriennn commented 7 years ago

if you can put an example on the leaflet playground that would help.

kaio328 commented 7 years ago

solved it! was a prob with css. after fixing position of my sidebar the buttons are no longer blocked!