Closed cpsievert closed 4 months ago
With this change, something like this now works:
div(class = "html-fill-container", bindFillRole(div(), item = TRUE))
The importance of which has increased since the emergence of div(bslib::as_fillable_container()), which only adds the HTML classes (not the dependencies).
div(bslib::as_fillable_container())
And since bslib::page_fillable() uses as_fillable_container(), this currently doesn't work:
bslib::page_fillable()
as_fillable_container()
library(shiny) library(plotly) library(bslib) ui <- page_fillable( plotlyOutput("p") ) server <- function(input, output) { output$p <- renderPlotly({ plotly::plot_ly() }) } shinyApp(ui, server)
With this change, something like this now works:
The importance of which has increased since the emergence of
div(bslib::as_fillable_container())
, which only adds the HTML classes (not the dependencies).And since
bslib::page_fillable()
usesas_fillable_container()
, this currently doesn't work: