lundi 29 octobre 2018

Drawing a SVG with d3.js while tab is in background

Context: I am working on a webapp that has to display some fairly complicated and constantly updating (multiple times per second) SVG images. The webapp is written in Scala.js and the image is created using the d3js library (see also: scala-js-d3). We currently only support Google Chrome.

Problem: Once the webapp has been in a background tab for a while, the whole site gets unresponsive once navigated to again. Depending on how long the app was in the background, it sometimes takes up to 20 seconds for the application to be responsive again. Is there any way I can solve this?




Aucun commentaire:

Enregistrer un commentaire