Closed jdbarillas closed 5 years ago
I can't reproduce the problem using: plotly 4.8.0 2018-07-20 CRAN shiny 1.1.0.9001 2018-10-15 Github shinydashboard * 0.7.0.9000 2018-10-15 Github
You might want to update:
if (!require("devtools"))
install.packages("devtools")
devtools::install_github("rstudio/shiny")
devtools::install_github("rstudio/shinydashboard")
When using ggplotly()
, you may have to route the container's height/width the ggplotly()
call. See here for an example https://github.com/ropensci/plotly/blob/master/inst/examples/shiny/ggplotly_sizing/app.R
Possibly related to #219, but adjustments to the height and width did not solve the problem. It seems to happen with the first plot to be rendered by the module. When the plot is re-rendered by a change in input, the height and width of the plot are correct.
Below is a reproducible example and can also be seen here sporadically.