RinteRface / shinydashboardPlus

extensions for shinydashboard
https://shinydashboardplus.rinterface.com
Other
449 stars 78 forks source link

Warning when using controlbarMenu #150

Closed ismirsehregal closed 2 years ago

ismirsehregal commented 2 years ago

When using controlbarMenu along with the latest CRAN version of shiny the following warning is shown:

bootstrapPage(position =) is deprecated as of shiny 0.10.2.2. The 'position' argument is no longer used with the latest version of Bootstrap.

This can be reproduced with the controlbarMenu example from the docs:

library(shiny)
library(shinydashboard)
library(shinydashboardPlus)
shinyApp(
  ui = dashboardPage(
    header = dashboardHeader(),
    sidebar = dashboardSidebar(),
    body = dashboardBody(),
    controlbar = dashboardControlbar(
      skin = "dark",
      controlbarMenu(
        id = "menu",
        controlbarItem(
          "Tab 1",
          "Welcome to tab 1"
        ),
        controlbarItem(
          "Tab 2",
          "Welcome to tab 2"
        )
      )
    ),
    title = "Right Sidebar"
  ),
  server = function(input, output) { }
)
benhmin commented 2 years ago

i have seen the same issue, thanks