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
Multiple Menus rendered to page causes Maximum update depth exceeded. #3214
Comments
related to #3118 potentially |
Passing However, the warning shouldn't be there. I'll investigate this. |
I initially believed that #3241 had fixed this, but I was wrong. Nevertheless, it appears to be a false positive warning from React. I'll keep this open just in case. |
Current behavior
In my app, I have a table and each row renders a kabab menu. I noticed recently that when there are more than ~20 rows, I get a warning in my browser console during dev:
The exact number of menus needed seems to vary. In my app, it was 24, but in the codesandbox, it's something like 60.
Steps to reproduce the bug
Expected behavior
I think I should be able to render as many menus as needed.
Workaround
The menus still seem to work, but the warning is concerning.
#3214 (comment)
Possible solutions
No response
The text was updated successfully, but these errors were encountered: