-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): wrap resize observer callback in requestAnimationFrame (#5441
) Fast browser window resize produces `Error: ResizeObserver loop limit exceeded`. The error isn't visible in browser console, doesn't affect functionality, but degrades performance of slider. Solution is taken from https://stackoverflow.com/a/58701523/17278571. Fixes #5440
- Loading branch information
Showing
1 changed file
with
20 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters