Skip to content

rapid collapse appearance/behaviour of box() inside of shinydashboardPlus::dashboardPage() #105

@DavidJesse21

Description

@DavidJesse21

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions