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

Hovering tree node in Tree component causes re-render #7309

Closed
1 of 2 tasks
xauuu opened this issue Dec 27, 2024 · 2 comments
Closed
1 of 2 tasks

Hovering tree node in Tree component causes re-render #7309

xauuu opened this issue Dec 27, 2024 · 2 comments
Labels
Duplicate A duplicate of other issue

Comments

@xauuu
Copy link

xauuu commented Dec 27, 2024

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.15.2

What package has an issue?

@mantine/core

What framework do you use?

create-react-app (CRA)

In which browsers you can reproduce the issue?

Chrome

Describe the bug

When using useTree(), I hover mouse over tree node the whole component is re-rendered.
It works normally without adding tree props

If possible, include a link to a codesandbox with a minimal reproduction

https://codesandbox.io/p/sandbox/mantine-react-template-forked-48thrd

Possible fix

No response

Self-service

  • I would be willing to implement a fix for this issue
@rtivital
Copy link
Member

Duplicate of #7266

@rtivital rtivital marked this as a duplicate of #7266 Dec 27, 2024
@rtivital rtivital added the Duplicate A duplicate of other issue label Dec 27, 2024
@xauuu
Copy link
Author

xauuu commented Dec 27, 2024

Is there a solution to this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate A duplicate of other issue
Projects
None yet
Development

No branches or pull requests

2 participants