Skip to content

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

Open

Description

@yergom

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.

Activity

  1. alessandrojcm commented on Nov 4, 2024

    @alessandrojcm
    Collaborator

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

  2. added
    enhancement
    V2
    on Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    V2enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions