RinteRface / shinydashboardPlus

extensions for shinydashboard
https://shinydashboardplus.rinterface.com
Other
454 stars 77 forks source link

height argument in `box()` seems to be ignored #117

Open albersonmiranda opened 3 years ago

albersonmiranda commented 3 years ago

See below:

image image

Tried as both integer (i.e. 760) and character (i.e. "760px").

albersonmiranda commented 3 years ago

Also, that line between solid header and the body didn't used to exist.

anniequinn commented 3 years ago

Having the same issue here

if (interactive()) {
  library(shiny)

  body <- dashboardBody(

    fluidRow(
      box(height = "1000px", # Ignored completely
          title = "Test box to adjust height of"
          sliderInput("orders", "Orders", min = 1, max = 2000, value = 650),
          selectInput("progress", "Progress",
                      choices = c("0%" = 0, 
                                  "20%" = 20, 
                                  "40%" = 40, 
                                  "60%" = 60, 
                                  "80%" = 80,
                                  "100%" = 100)
                      )
          )
      )
    )

  server <- function(input, output) { }

  shinyApp(
    ui = dashboardPage(
      dashboardHeader(),
      dashboardSidebar(),
      body
    ),
    server = server
  )
}
davidseres commented 3 years ago

Same issue, doesn't matter what units I supply, the height doesn't change

vituri commented 3 years ago

Same problem here.

jjfantini commented 2 years ago

Having this problem as well, has anybody found a solution?

jjfantini commented 2 years ago

@davidseres @albersonmiranda @vituri @avisserquinn

albersonmiranda commented 2 years ago

Having this problem as well, has anybody found a solution?

Solution so far is migrating to {bs4dash}

tkranenburg commented 1 year ago

Has anyone found a solution for the problem, besides moving to bs4Dash?