diff --git a/NEWS.md b/NEWS.md index 413a5cd..c6e93a3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,6 +5,9 @@ Shiny 1.7.0. Thanks @wch. ## Minor change - Internal change regarding the `{waiter}` package but no user impact. Thanks @JohnCoene. +## Bug fix +- Fix #150: Warning when using controlbarMenu. + # shinydashboardPlus 2.0.2 - Simple patch to fix wrong .Rbuildignore [rule](https://github.com/DivadNojnarg/outstanding-shiny-ui/issues/52). diff --git a/R/dashboardControlbar.R b/R/dashboardControlbar.R index 77f9fcb..af37e82 100644 --- a/R/dashboardControlbar.R +++ b/R/dashboardControlbar.R @@ -223,8 +223,7 @@ controlbarMenu <- function(..., id = NULL, selected = NULL) { ..., id = id, selected = selected, - type = "tabs", - position = NULL + type = "tabs" ) # remove parent div causing CSS margin issues diff --git a/docs/news/index.html b/docs/news/index.html index ee2ad55..a38b79a 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -171,6 +171,13 @@

  • Internal change regarding the waiter package but no user impact. Thanks @JohnCoene.
  • +
    +

    +Bug fix

    + +

    @@ -196,9 +203,9 @@

    -
    +

    -Bug fix

    +Bug fix