Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination reset after editing row #377

Open
1 task done
JonasPf opened this issue Jul 22, 2024 · 0 comments
Open
1 task done

Pagination reset after editing row #377

JonasPf opened this issue Jul 22, 2024 · 0 comments
Labels
V1 Issue with MRT V1

Comments

@JonasPf
Copy link

JonasPf commented Jul 22, 2024

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:

  1. Open https://www.mantine-react-table.com/docs/examples/editing-crud
  2. Change Rows per page to 5 to enable pagination
  3. Click on the > button so that the table now shows 6-8 of 8
  4. Edit one of the 3 rows displayed and save it
  5. 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

  • 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.
@alessandrojcm alessandrojcm added the V1 Issue with MRT V1 label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V1 Issue with MRT V1
Projects
None yet
Development

No branches or pull requests

2 participants