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:[#1046] Sub Row Selection not working correctly #1049

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

vzanimonets
Copy link

Now, after selecting all subrows by clicking on the group header, deselecting individual subrows will correctly update the group header's checkbox status.

Copy link

vercel bot commented Mar 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
material-react-table ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 19, 2024 4:47pm
material-react-table-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 19, 2024 4:47pm

@KevinVandy
Copy link
Owner

This is a bit confusing to me. I don't see the bug yet in the storybook stories I have set up. Let's create one.

Also, the logic seems to be accounting for sub-row selection in multiple places now with this change. Guessing this can be simplified.

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