diff --git a/NEWS.md b/NEWS.md index a71b6826..abd2f433 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,8 @@ shinydashboard 0.5.3.9000 ========================= +* Fixed [#71](https://github.com/rstudio/shinydashboard/issues/71) and [#87](https://github.com/rstudio/shinydashboard/issues/87): detect and enforce selected tab for dynamic sidebars. ([#189](https://github.com/rstudio/shinydashboard/pull/189)) + * Fixed [#73](https://github.com/rstudio/shinydashboard/issues/73): add `collapsed` argument to `dashboardSidebar()`, which allows it to start off collapsed. ([#186](https://github.com/rstudio/shinydashboard/pull/186)) * Fixed [#62](https://github.com/rstudio/shinydashboard/issues/62): make images resize when the sidebar collapses/expands. [#185](https://github.com/rstudio/shinydashboard/pull/185) diff --git a/inst/shinydashboard.js b/inst/shinydashboard.js index b41c31bd..1a8374ff 100644 --- a/inst/shinydashboard.js +++ b/inst/shinydashboard.js @@ -100,6 +100,7 @@ $(function() { Shiny.initializeInputs(el); Shiny.bindAll(el); + ensureActivatedTab(); } }); Shiny.outputBindings.register(menuOutputBinding,