mantine-react-table
mantine-react-table copied to clipboard
Pagination reset after editing row
mantine-react-table version
v1.3.4
react & react-dom versions
v18.2.0
Describe the bug and the steps to reproduce it
Editing a row resets pagination.
To reproduce:
- Open https://www.mantine-react-table.com/docs/examples/editing-crud
- Change
Rows per pageto5to enable pagination - Click on the
>button so that the table now shows6-8 of 8 - Edit one of the 3 rows displayed and save it
- The pagination will be rest to
1-5 of 8
I understand that keeping the pagination when adding/removing rows can be tricky but editing rows should not change it IMHO. Interestingly it seems to work on the in-cell editing examples but I'm not sure why.
Minimal, Reproducible Example - (Optional, but Recommended)
https://www.mantine-react-table.com/docs/examples/editing-crud
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
Terms
- [X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.