Describe the bug
row-selection in the group rows are not correctly reacting to their sub-rows row-selection state
I'm not sure if it's the same issue as #4878 - but better to track separately.
Your minimal, reproducible example
https://codesandbox.io/s/row-grouping-8twj0x
Steps to reproduce
- Go to https://codesandbox.io/s/row-grouping-8twj0x
- Expand "relationship" group
- Select the first child in that group
- ✅ Notice the "relationship" group being "indeterminate"

- Select the other 2 children in that group
- 🛑 Notice the "relationship" row checkbox is "unchecked", when it should be "checked"

Possibly the same issue
- Go to the same codesandbox https://codesandbox.io/s/row-grouping-8twj0x
- Expand the two groups
- Select the checkbox from the column header (to select all)
- 🛑 Notice the parent row checkboxes aren't checked

Expected behavior
As a user, I expected the parent row to react to the row-selection status of its children, regardless on how they are selected/unselected:
- some sub-rows selected: parent row "indeterminate"
- no sub-rows selected: parent row "unchecked"
- all sub-rows selected: parent row "checked"
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Happens in codesandbox
react-table version
v8.9.1
TypeScript version
N/A - whatever codesandbox uses
Additional context
No response
Terms & Code of Conduct
Describe the bug
row-selection in the group rows are not correctly reacting to their sub-rows row-selection state
I'm not sure if it's the same issue as #4878 - but better to track separately.
Your minimal, reproducible example
https://codesandbox.io/s/row-grouping-8twj0x
Steps to reproduce
Possibly the same issue
Expected behavior
As a user, I expected the parent row to react to the row-selection status of its children, regardless on how they are selected/unselected:
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Happens in codesandbox
react-table version
v8.9.1
TypeScript version
N/A - whatever codesandbox uses
Additional context
No response
Terms & Code of Conduct