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
refactor: avoid forced reflows during OverflowController initialization (#11400)
## Summary
This PR refactors OverflowController to separate DOM reads and writes:
reads happen in the ResizeObserver callback, while writes are deferred
to a requestAnimationFrame callback. This avoids forced reflows when
multiple components or different parts of the same component are reading
and writing the DOM during initialization.
Grid initial render with Aura:
| Before | After |
|:-------:|:-------:|
| 
| 
|
| Rendering: ~333 ms | Rendering: ~304 ms |
0 commit comments