You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(perf): pause animations when not displayed (#1323)
* fix(perf): pause animations when not displayed
Safari still calculates rendering for animations that are set with animateTransform, even if they aren't being displayed (svg or parent is `hidden`). This causes performance issues on older devices.
We work around this by manually pausing or unpausing the svg depending on whether it's displayed.
https://bugs.webkit.org/show_bug.cgi?id=298217closes#1322
* condition
* safer
0 commit comments