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

On row deletion on idx = N, all the rows after N are unmounted/mounted #406

Open
1 task done
yergom opened this issue Sep 4, 2024 · 1 comment
Open
1 task done
Labels
enhancement New feature or request V2 Issue with MRT V2

Comments

@yergom
Copy link
Contributor

yergom commented Sep 4, 2024

mantine-react-table version

v2.0.0-beta.6

react & react-dom versions

v18

Describe the bug and the steps to reproduce it

More than steps to reproduce it, I want to point at the src of the problem:

Making the key dependent on the index causes a full re-render of all the rows after an insertion/deletion.

Minimal, Reproducible Example - (Optional, but Recommended)

not provided

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
Copy link
Collaborator

Hi, thanks for this, any suggestions on how to fix it?

@alessandrojcm alessandrojcm added enhancement New feature or request V2 Issue with MRT V2 labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request V2 Issue with MRT V2
Projects
None yet
Development

No branches or pull requests

2 participants