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 upSidebar menu with dynamic content does not show default tab #71
Comments
|
Same issue here. |
|
The same problem occured |
|
It would be great to get a solution to this. I've also posted to stack overflow with no response yet |
|
Same issue here. when this issue will be fixed? |
|
This is still not fixed.. but here is a simple work around if your default page is static or can be pre-built without reactivity. You can list multiple sidebarMenu Items in a row.
|
|
Bump on this. It makes shinydashboard almost unusable for what I am trying to do... |
|
i used shinyjs for a temporary fix |
|
Here is a solution using
With multiple tabs Or simpler here |
|
Fixed in #199 |
When using a sidebar menu dynamically generated no tab is shown by default.
Here's the example from the doc with some text added inside the dashboard bod to be able to replicate the issue:
By default it does not show the tab item "dashboard" and the user has to clic on it to show it. I tried to manually fix this in my app using updateTabItems but it does not work either because the sidebar menu object is not stored in the input variable (but it was in the static version).
I tested this both with the CRAN and last Github versions of shiny and shinydashboard.