diff --git a/web/base_viewer.js b/web/base_viewer.js index 993c869c7..1f26fe2fd 100644 --- a/web/base_viewer.js +++ b/web/base_viewer.js @@ -533,11 +533,14 @@ class BaseViewer { // `this._onePageRenderedCapability` thus won't be resolved. // To ensure that automatic printing, on document load, still works even in // those cases we force-allow fetching of all pages when: + // - The current window/tab is inactive, which will prevent rendering since + // `requestAnimationFrame` is being used; fixes bug 1746213. // - The viewer is hidden in the DOM, e.g. in a `display: none`