Describe the bug
After upgrading from 8.3.0 to 8.3.1 I've noticed that table.getIsSomeRowsSelected() will return true even if no rows are selected. Rolling back to 8.3.0 makes the issue go away. 8.3.2 also has this bug.
I suspect the problem is caused by this commit (620ba46) but not sure why exactly.
Your minimal, reproducible example
https://tanstack.com/table/v8/docs/examples/react/row-selection
Steps to reproduce
Check out the row selection example page: https://tanstack.com/table/v8/docs/examples/react/row-selection Note how the checkbox in the header has the indeterminate state set to true even when nothing is selected yet.
Expected behavior
If no rows are selected, getIsSomeRowsSelected() should return false.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS, Chrome
react-table version
8.3.1
TypeScript version
4.7.4
Additional context
No response
Terms & Code of Conduct
Describe the bug
After upgrading from 8.3.0 to 8.3.1 I've noticed that
table.getIsSomeRowsSelected()will returntrueeven if no rows are selected. Rolling back to 8.3.0 makes the issue go away. 8.3.2 also has this bug.I suspect the problem is caused by this commit (620ba46) but not sure why exactly.
Your minimal, reproducible example
https://tanstack.com/table/v8/docs/examples/react/row-selection
Steps to reproduce
Check out the row selection example page: https://tanstack.com/table/v8/docs/examples/react/row-selection Note how the checkbox in the header has the indeterminate state set to true even when nothing is selected yet.
Expected behavior
If no rows are selected,
getIsSomeRowsSelected()should returnfalse.How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS, Chrome
react-table version
8.3.1
TypeScript version
4.7.4
Additional context
No response
Terms & Code of Conduct