I'm writing a Shiny app with bsCollapsePanels that contain datatables. When the size of the datatable changes, the size of the panel changes as well. However, when the dataTableOutput is invalidated (through the shiny:::validate function), the size of the panel remains the same. This causes the panel to be unneccessarily large, or to be too small so that the warning message extends beyond the panel.
See a reproducible example of this behaviour below:
I'm writing a Shiny app with
bsCollapsePanel
s that containdatatable
s. When the size of thedatatable
changes, the size of the panel changes as well. However, when thedataTableOutput
is invalidated (through theshiny:::validate
function), the size of the panel remains the same. This causes the panel to be unneccessarily large, or to be too small so that the warning message extends beyond the panel.See a reproducible example of this behaviour below: