Describe the bug
I have a table which has manualSelection=true set so that I can do server-side pagination, and it also uses the rowSelection feature to select rows. If I select a row on one page, then change pages, the same row stays selected, even though it is on a different page.
Your minimal, reproducible example
https://codesandbox.io/s/sharp-robinson-32uzql
Steps to reproduce
- select an element
- change pages
- verify that the row selection has not changed.
Expected behavior
I would expect the original row to remain selected, but only on the page where it is visible. I would expect rows which I had not selected to remain unselected.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Linux
react-table version
v.8.5.15
TypeScript version
v4.7.3
Additional context
No response
Terms & Code of Conduct
Describe the bug
I have a table which has
manualSelection=trueset so that I can do server-side pagination, and it also uses the rowSelection feature to select rows. If I select a row on one page, then change pages, the same row stays selected, even though it is on a different page.Your minimal, reproducible example
https://codesandbox.io/s/sharp-robinson-32uzql
Steps to reproduce
Expected behavior
I would expect the original row to remain selected, but only on the page where it is visible. I would expect rows which I had not selected to remain unselected.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Linux
react-table version
v.8.5.15
TypeScript version
v4.7.3
Additional context
No response
Terms & Code of Conduct