-
Notifications
You must be signed in to change notification settings - Fork 336
Description
Description
In Safari-based browsers, loading algolia/autocomplete causes severe performance and rendering issues. Layout styles are continuously invalidated and recalculated, the CPU stays overloaded, and the rendering queue is permanently full. This delays user interactions and makes the page visibly slower. Pages without algolia/autocomplete do not experience these CPU-intensive rendering problems.
Reproduction
Steps
- Open Safari browser
- Go to a webpage where algolia/autocomplete is active ex. https://www.algolia.com/doc/ui-libraries/autocomplete/introduction/getting-started/
- Open the
developer tools>Timelines - Click the red dot to record a session
- You will see a high CPU load and continuous rendering of the layout.
screencast.2025-08-26.22-11-29.mp4
Expected behavior
In browsers like Chrome or Firefox, this continuous rendering and high CPU usage does not occur. In Safari, however, it causes visible DOM rendering delays, which are especially noticeable on older devices or pages with many DOM elements.
Environment
- OS: Tested on macOS, though other operating systems may be affected as well
- Browser: Safari
- Autocomplete version: v1.19.2
Vhulcan
Metadata
Metadata
Assignees
Labels
No labels