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: fixed crash when toggling selection of non-visible row #5221

Merged
merged 1 commit into from Dec 20, 2023

Conversation

KevinVandy
Copy link
Member

Currently, if the mutation of a selected row is tried on a row that is not in the current pagination or filtered results, the table will not be able to find the row to toggle and will crash. This can happen more frequently with the new row pinning features. This fix scans all client-side rows to perform the mutation.

@KevinVandy KevinVandy merged commit cd8c821 into TanStack:main Dec 20, 2023
1 check passed
@akraines
Copy link
Contributor

This change caused the regression reported here:
#5246

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.

None yet

2 participants