Open daattali opened 4 years ago
When an app loses connection, a few attempts to reconnect are made by the server.
This css https://github.com/rstudio/shiny-server/blob/4b588a12f844713729991d1274764d854d90a18d/assets/shiny-server.css#L1-L4 removed the background of the body tag when a reconnection is attmpted. The result is that if there is already a background on the body, for a few seconds the backgroud is removed which looks glitchy.
Here's an example (the time is not to scale, converting video to GIF messed up the timing)
The only way around this seems to have to define a shiny app's css with
body { background: #fafafa !important; }
And it seems a bit overkill to have to use important because of this. Is that background clearing really required?
important
When an app loses connection, a few attempts to reconnect are made by the server.
This css https://github.com/rstudio/shiny-server/blob/4b588a12f844713729991d1274764d854d90a18d/assets/shiny-server.css#L1-L4 removed the background of the body tag when a reconnection is attmpted. The result is that if there is already a background on the body, for a few seconds the backgroud is removed which looks glitchy.
Here's an example (the time is not to scale, converting video to GIF messed up the timing)
The only way around this seems to have to define a shiny app's css with
And it seems a bit overkill to have to use
important
because of this. Is that background clearing really required?