Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
albersonmiranda opened this issue Mar 12, 2021 · 8 comments
Open

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

albersonmiranda opened this issue Mar 12, 2021 · 8 comments

Comments

@albersonmiranda
Copy link

See below:

image
image

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

@albersonmiranda
Copy link
Author

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

@anniequinn
Copy link

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
Copy link

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

@vituri
Copy link

vituri commented Jul 1, 2021

Same problem here.

@jjfantini
Copy link

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

@jjfantini
Copy link

@davidseres @albersonmiranda @vituri @avisserquinn

@albersonmiranda
Copy link
Author

albersonmiranda commented Feb 23, 2022

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

Solution so far is migrating to {bs4dash}

@tkranenburg
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants