Closed DavidJesse21 closed 3 years ago
I am experiencing exactly the same issue.
See issue #69 for the cause. If you want to change the default animation speed (below super fast boxes):
library(shiny)
library(shinydashboard)
library(shinydashboardPlus)
ui <- shinydashboardPlus::dashboardPage(
options = list(
animationSpeed = 10
),
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)
This does not fix the issue for me. I have the latest version (2.0.0).
Could you reinstall and empty your web browser cache?
That solved it thanks!
I am using version 2.0.0.9000 of
shinydashboardPlus
. Usingbox(collapsible=TRUE)
regardless wether it isshinydashboard::box()
orshinydashboardPlus::box()
inside ofshinydashboard::dashboardPage()
works fine in every way. Whilebox(collapsible=TRUE)
inside ofshinydashboardPlus::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 betweenshinydashboard::dashboardPage
andshinydashboardPlus::dashboardPage