rstudio / shinydashboard

Shiny Dashboarding framework

Home Page:https://rstudio.github.io/shinydashboard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Behaviour of arrow with startExpanded = TRUE

maksymiuks opened this issue · comments

Hi,

I have a problem with the behavior of the dashboardSidebar when one of the menuItems work with startExpanded = TRUE parameter. Specified menu indeed starts expanded but the arrow on the right side that indicates whether the menu is expanded or not stays the same and displays like for not expanded menu. Speaking in tags language, inside the <li class="treeview"> <ul class="treeview-menu"> changes to class treeview-menu menu-open but treeview itself does not change to treeview active. I tried to include js script to steer that arrow manually (ie. force treeview active flag) but it worked only for a second.

Sadly I cannot provide my code, I can try to prepare a working example if it's necessary.

Have you encountered such a problem and know how to solve it?