You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to generate a sequence of several plotly plots which should be individually resizable. This has worked fine in version 2.21 but did break with more recent releases when also toc_float is enabled.
The below code works as expected in versions upto 2.21 but the plotly plots can no longer be resized in later versions.
---
title: "Test report"
output:
html_document:
toc: true
toc_float: true
---
```{r tagList, echo=FALSE, results = 'asis'}
suppressPackageStartupMessages({
library(shiny)
library(shinyjqui)
library(plotly)
})
tList <- tagList()
cat('# First chapter')
for (i in 1:3) {
tList[[i]] <- div(jqui_resizable(ggplotly(qplot(1:10, 1:10))))
}
tList
I am trying to generate a sequence of several plotly plots which should be individually resizable. This has worked fine in version 2.21 but did break with more recent releases when also toc_float is enabled.
The below code works as expected in versions upto 2.21 but the plotly plots can no longer be resized in later versions.
Checklist
When filing a bug report, please check the boxes below to confirm that you have provided us with the information we need. Have you:
formatted your issue so it is easier for us to read?
included a minimal, self-contained, and reproducible example?
pasted the output from
xfun::session_info('rmarkdown')
in your issue?upgraded all your packages to their latest versions (including your versions of R, the RStudio IDE, and relevant R packages)?
installed and tested your bug with the development version of the rmarkdown package using
remotes::install_github("rstudio/rmarkdown")
?The text was updated successfully, but these errors were encountered: