Skip to content

Fix #1477: Prevent scroll jump to top when resizing columns with row virtualization enabled#1512

Open
daihua2 wants to merge 4 commits intoKevinVandy:v3from
daihua2:fix/1477-virtualization-scroll-resize
Open

Fix #1477: Prevent scroll jump to top when resizing columns with row virtualization enabled#1512
daihua2 wants to merge 4 commits intoKevinVandy:v3from
daihua2:fix/1477-virtualization-scroll-resize

Conversation

@daihua2
Copy link
Copy Markdown

@daihua2 daihua2 commented Mar 27, 2026

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.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

@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.

@daihua2 daihua2 changed the title fix #1477 virtualization-scroll-resize Fix #1477: Prevent scroll jump to top when resizing columns with row virtualization enabled Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scroll issue when resizing the column

2 participants