[ ] Include relevant code or preferably a code sandbox
Describe the bug
When a row becomes disabled based on selectableRowDisabled check, it stays selected.
To Reproduce
Steps to reproduce the behavior:
Create any table with a single row that's enabled, check it, change data to make it disabled.
Observe it's still selected.
Expected behavior
Disabled rows should be unselected when new data arrives.
Code Sandbox, Screenshots, or Relevant Code
Versions (please complete the following information)
Issue Check list
styled-components
Describe the bug
When a row becomes disabled based on
selectableRowDisabled
check, it stays selected.To Reproduce
Steps to reproduce the behavior: Create any table with a single row that's enabled, check it, change data to make it disabled. Observe it's still selected.
Expected behavior
Disabled rows should be unselected when new data arrives.
Code Sandbox, Screenshots, or Relevant Code
Versions (please complete the following information)