Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up0.6.0 introduced minor bug #214
Comments
…uSelectedTabItem` is always set in the body of the `ensureActivatedTab()` function
* Fixes #214: make sure that the `data-value` attribute of `.sidebarMenuSelectedTabItem` is always set in the body of the `ensureActivatedTab()` function * update NEWS * re-organize code following a more logical structure
From: https://stackoverflow.com/questions/44172064/shinydashboard-is-not-showing-item-properly-in-sidebar
For some reason, in 0.6.0,
selected = TRUEin amenuItem()does not trigger the correspondingconditionalPanel(). (If you leave that out though, everything works fine - see example below).No repro for < 0.6.0.
Repro
This works as expected:
This should result in exactly the same app, but it gets messed up:
Workaround
Use a dynamic sidebar menu: