I want my accordion to overflow into the body instead of making my sidebar scroll. I want the same behavior I am getting from my virutal select inputs. I have tried changing the class but I have no clue what I am doing.
library(tidyverse)
library(shiny)
library(bslib)
library(shinyWidgets)
ui <- page_sidebar(
sidebar = sidebar(
virtualSelectInput(
inputId = "idk",
label = "idk",
choices = replicate(10, expr = str_flatten(sample(letters, size = 45, replace = T))),
multiple = T, search = T
),
virtualSelectInput(
inputId = "idk",
label = "idk",
choices = replicate(10, expr = str_flatten(sample(letters, size = 45, replace = T))),
dropboxWrapper = "body",
dropboxWidth = "400px"
),
accordion(
open = F,
accordion_panel(
title = "Test",
virtualSelectInput(
inputId = "idk",
label = "idk",
choices = replicate(10, expr = str_flatten(sample(letters, size = 45, replace = T))),
multiple = T, search = T
),
virtualSelectInput(
inputId = "idk",
label = "idkasdfjasdlkfhjasdkljfhasdkjlfhadksljhdakjs",
choices = replicate(10, expr = str_flatten(sample(letters, size = 45, replace = T))),
dropboxWrapper = "body",
dropboxWidth = "400px"
)
)
)
)
)
server <- function(input, output, session) {
}
shinyApp(ui, server)
I dont know much about css or hrml.