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
After upgrading to v5.5.5, the Menu in AppHeader causes React to redraw frequently #2693
Comments
There were no changes to these components in 5.5.5 release. I also cannot reproduce any performance issues in the sandbox – https://codesandbox.io/s/dreamy-dijkstra-mche2z?file=/src/App.tsx |
Ok, I'm gonna find out what happened in the sandbox, catch you later. |
Here you are. |
thx, it works now. |
Hello @rtivital , I'm having an issue that I think is linked here, see: Not exactly trying to have a "controlled" menu, but rather just register when it is opened. It seems as soon as I attach the (happens since 5.5.5) What do you think ? Maybe I'm misunderstanding the use of |
Okay, I'll check that, thanks for reporting |
Is this the issue in question here? Is this the original issue from @GZTimeWalker about redrawing and using 100% CPU resolved? |
I believe it's the same issue yes, materializing differently. The original issue is resolved by switching the state control from the Menu Thanks a lot ! |
I face this issue when I add |
The changes were reverted, should be fixed on 5.5.6 |
What package has an issue
@mantine/core
Describe the bug
After upgrade to v5.5.5, all the pages had 100% CPU usage, and the problem disappeared after the downgrade to v5.5.4
It seems to be caused by
MenuItem
andBox
, in the last version these functions were no more than 10msWhat version of @mantine/hooks page do you have in package.json?
^5.5.5
If possible, please include a link to a codesandbox with the reproduced problem
Do you know how to fix the issue
No response
Are you willing to participate in fixing this issue and create a pull request with the fix
No response
Possible fix
No response
The text was updated successfully, but these errors were encountered: