Fix #1477: Prevent scroll jump to top when resizing columns with row virtualization enabled#1512
Open
daihua2 wants to merge 4 commits intoKevinVandy:v3from
Open
Fix #1477: Prevent scroll jump to top when resizing columns with row virtualization enabled#1512daihua2 wants to merge 4 commits intoKevinVandy:v3from
daihua2 wants to merge 4 commits intoKevinVandy:v3from
Conversation
|
@KevinVandy is attempting to deploy a commit to the Kevin Vandy OSS Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes #1477 where scrolling jumps to the top after column resize when row virtualization is enabled.
Root cause: during resize, the body switched between memoized and non-memoized components, causing a remount and resetting virtualization scroll context.
Fix: when row virtualization is enabled, avoid that resize-time body component switch so the body instance stays stable and scroll position is preserved.
Scope: only affects the resize + row virtualization path. No API changes.