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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Performance
The relayout pass (inferred FLIP and size animations) now skips elements far
outside the viewport. It runs on every LiveView patch and measured every
tracked element, so on a page with hundreds of animated elements a patch that
changed three of them still cost tens of thousands of layout reads — twice,
since the deferred exit removal triggers a second pass. Off-screen elements
are now skipped, and the visibility observer reseeds their cached layout when
they come back toward the viewport. The per-frame sibling remeasure during a
size-collapse exit skips off-screen siblings the same way.