-
Notifications
You must be signed in to change notification settings - Fork 302
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
Broken Shiny table formatting when viewed in flexdashboard #452
Comments
Ah! I've been looking for a solution to this bug for days! The same happens with figures. I've opened a StackOverFlow issue about this here: https://stackoverflow.com/q/78963141/9370662. This happens regardless of how big I make the first row, even ridiculously big, there's always lots of unused space for the row, but somehow the table or figure still is contained within a small container with a scroll bar. I'm very puzzled by this and cannot find a solution. Did you find one? Edit: Also I'd like to clarify that this bug only arises when using |
Seems related to #117 |
Here's an even simpler minimally reproducible example:
|
This addition to the example provided by rempsyc was something I addressed in their Stack Overflow question with the addition of the following CSS.
|
flexdashboard is definitely not expecting you to use The Using shiny with flexdashboard article gives more background and information about how flexdashboard and shiny are expected to work together. |
I have a simple table that is rendered correctly as a Shiny app, but becomes broken when embedded into flexdashboard.
Here is what it looks like as a native Shiny app:
But this happens when its embedded into flexdashboard:
This bug is easy to reproduce. The following native Shiny app code is put into
bug_test.R
:The flexdashboard code (
test.Rmd
) is:I am using the latest version of RStudio (2024.04.2, Build 764), and the latest versions of all modules (Shiny 1.8.1.1, DT 0.33, flexdashboard 0.6.2).
The text was updated successfully, but these errors were encountered: