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

sliderInput in dashboardControlbar can break the page layout #147

Open
ismirsehregal opened this issue Jul 26, 2021 · 0 comments
Open

sliderInput in dashboardControlbar can break the page layout #147

ismirsehregal opened this issue Jul 26, 2021 · 0 comments

Comments

@ismirsehregal
Copy link
Contributor

ismirsehregal commented Jul 26, 2021

Clicking on the overlapping parts of a sliderInput breaks the page layout:

Animation

library(shiny)
library(shinydashboard)
library(shinydashboardPlus)

shinyApp(
  ui = dashboardPage(
    options = list(sidebarExpandOnHover = TRUE),
    header = dashboardHeader(),
    sidebar = dashboardSidebar(minified = TRUE, collapsed = TRUE),
    body = dashboardBody(
      lapply(1:20, box, width = 12, title = "box")
    ),
    controlbar = dashboardControlbar(
      fluidPage(
        sliderInput("mySlider", label = "mySlider", min = Sys.time()-10, max = Sys.time(), value = c(Sys.time()-1, Sys.time()))
        )
    ),
    title = "DashboardPage"
  ),
  server = function(input, output) { })
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

1 participant