laptop and a wrench

Bug

ArcGIS API for JavaScript stops drawing stream services when the browser window is not active.

Last Published: April 30, 2020 ArcGIS API for JavaScript
Bug ID Number BUG-000128273
SubmittedJanuary 30, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.15
Operating SystemWindows OS
Operating System Version10.0
StatusWill Not Be Addressed

Additional Information

The browser suspends the WebGL context when it is put in a background tab, so this is not something we can handle. Refer to https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame: requestAnimationFrame() calls are paused in most browsers when running in the background tabs or hidden