library · inferred from evidence
LoadingIcon.ts
A file in the autocomplete-js package where the fix to pause SVG animations was implemented.
- algolia/autocomplete causes continuous style recalculations and high CPU usage in Safari
Two findings and fixes came out of the thread. The immediate cause: the resize listener tied to the detachedMediaQuery (packages/autocomplete-js/src/autocomplete.ts) fired every frame in Safari because requestAnimationFrame(setPanelPosition