Closed willglanville closed 6 years ago
I think the github version addresses this issue, can you please try:
devtools::install_github("andrewsali/shinycssloaders")
And report back if afterwards it is solved or not?
Yes, this now behaves! Thanks very much.
Hi -
I am looking to use shinycssloaders on charts from a package I have built with htmlwidgets. The height component of the chart output needs to respond to window size so have implemented a javascript event to update a shiny variable declaring the height. When implementing this, I find the cssloaders do not disappear after the chart has resized.
This same pattern to implement responsiveness works with many other chart packages (normal plots, plotly etc).
I'm able to reproduce the problem with charts from 'dygraphs' another package built with htmlwidgets.
Run the following code, then resize the browser window,
library(dygraphs) library(datasets) library(dygraphs)
shinyApp( ui = shinyUI(fluidPage(
server = shinyServer( function(input,output,session){
}) )