Closed apalacio9502 closed 1 year ago
I'm pretty sure the latest API doesn't suffer from these (which was just merged into main), but please open a new issue (with another reprex) if they still persist, thanks!
This issue has been automatically locked. If you believe you have found a related problem, please open a new issue (with a reproducible example or feature request) and link to this issue.
Hello @cpsievert,
I closed the previous issue to put here all the problems I see based on the latest modifications.
If bslib::bs_theme(bootswatch="shiny") and no other variable like bg or fg is defined when closing the full screen the plot does not adjust to the size of the card and goes out of the card. This does not happen if the bootswatch is different from "shiny".
When closing the full screen the plot does not adjust to the size of the card, but does not leave the card instead the scroll bar is activated. This happens with all bootswatches except "shiny".
It is not clear if to put a plot inside a navs_tab_card you must use something inside the nav, for example nav("Test", card_body_stretch(plotlyOutput("plot_1", height = "100%")). I tried nav("Test", card_body_stretch(plotlyOutput("plot_1", height = "100%")) and problem 2 happens too. I also tried nav("Test", plotlyOutput("plot_1", height = "100%") and when exiting full screen the plot size adjusts but the width and height is reduced with respect to the original.
If the height of the card is not defined when closing the full screen the plot is not adjusted.
Regards