Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(grid-demo): maintain active cell in virtual rows correctly #77

Merged
merged 5 commits into from
Aug 10, 2022

Conversation

kevinbuhmann
Copy link
Member

closes #73

We need to track the active cell by index so that the active cell is set correctly after row elements are recycled.

@kevinbuhmann kevinbuhmann self-assigned this Aug 9, 2022
@kevinbuhmann kevinbuhmann marked this pull request as draft August 9, 2022 22:50
This fixes a mistake I made when refactoring c682471.

Signed-off-by: Kevin Buhmann <kbuhmann@vmware.com>
Signed-off-by: Kevin Buhmann <kbuhmann@vmware.com>
Signed-off-by: Kevin Buhmann <kbuhmann@vmware.com>
Signed-off-by: Kevin Buhmann <kbuhmann@vmware.com>
We need to track the active cell by index so that the active cell is set
correctly after row elements are recycled.

closes #73

Signed-off-by: Kevin Buhmann <kbuhmann@vmware.com>
@kevinbuhmann kevinbuhmann force-pushed the kevin/virtual-rows-active-cell-index branch from 42718a3 to add8d3c Compare August 9, 2022 23:00
@kevinbuhmann kevinbuhmann marked this pull request as ready for review August 9, 2022 23:00
@kevinbuhmann kevinbuhmann merged commit 4ea5389 into main Aug 10, 2022
@kevinbuhmann kevinbuhmann deleted the kevin/virtual-rows-active-cell-index branch August 10, 2022 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

virtual scroll doesn't maintain active cell correctly while scrolling
2 participants