We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dateInput()
Without any top margin on parent div, the calendar popup displays well:
library(shiny) ui <- bslib::page( theme = bslib::bs_theme(version = 5, preset = "bootstrap"), tags$div( dateInput(inputId = "mydate", label = "My date") ) ) server <- \(input, output, session) {} shinyApp(ui, server)
But when you add a top margin to the parent div, the popup displays over the input:
library(shiny) ui <- bslib::page( theme = bslib::bs_theme(version = 5, preset = "bootstrap"), tags$div( class = "mt-5", # add top margin dateInput(inputId = "mydate", label = "My date") ) ) server <- \(input, output, session) {} shinyApp(ui, server)
The text was updated successfully, but these errors were encountered:
Interesting, thanks! FWIW, I think this achieves what you're looking for?
bslib::page( theme = bslib::bs_theme(version = 5, preset = "bootstrap"), tags$div(class = "pt-5"), dateInput(inputId = "mydate", label = "My date") )
Sorry, something went wrong.
Yes, using padding works well.
No branches or pull requests
Without any top margin on parent div, the calendar popup displays well:
But when you add a top margin to the parent div, the popup displays over the input:
The text was updated successfully, but these errors were encountered: