When i want to use labels and colors parameters with addLegend() function inside a shinyAppthe legend is displayed in sta
labels
colors
addLegend()
shinyApp
I had the same problem. In my case, adjusting CSS of the legend solved the problem:
ui <- bootstrapPage( tags$style(type="text/css", "div.info.legend.leaflet-control br {clear: both;}"), ... )