diff --git a/src/scroll-timeline-css.js b/src/scroll-timeline-css.js index 5007da01..c0033229 100644 --- a/src/scroll-timeline-css.js +++ b/src/scroll-timeline-css.js @@ -159,11 +159,4 @@ export function initCSSPolyfill() { } }); }); - - // Clear cache containing the ProxyAnimation instances when leaving the page. - // See https://github.com/flackr/scroll-timeline/issues/146#issuecomment-1698159183 - // for details. - window.addEventListener('pagehide', (e) => { - proxyAnimations = new WeakMap(); - }, false); }