Dropdown menus in shiny apps (created with selectInput()
) will appear below the zoom buttons in a leaflet map without intervention.
The issues is due to the z-index
of the different web elements, which controls what appears on top of what. To change the z-index
of the dropdown menu we can use div(control, style = "position:relative;z-index:10000;"