I am using version 2.0.0.9000 of shinydashboardPlus.
Using box(collapsible=TRUE) regardless wether it is shinydashboard::box() or shinydashboardPlus::box() inside of shinydashboard::dashboardPage() works fine in every way.
While box(collapsible=TRUE) inside of shinydashboardPlus::dashboardPage() still works fine in most respects, collapsing the box is rapid and not smooth anymore.
You can compare the behaviour in this example by switching between shinydashboard::dashboardPage and shinydashboardPlus::dashboardPage
library(shiny)
library(shinydashboard)
library(shinydashboardPlus)
ui <- shinydashboardPlus::dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody(
# collapsible box
shinydashboardPlus::box(
title = "A collapsible box",
status = "primary",
solidHeader = TRUE,
width = 12,
collapsible = TRUE,
p("Some content...")
)
)
)
server <- function(input, output) { }
shinyApp(ui, server)