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

[charts] Memoize some tooltip internals #16564

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

alexfauquette
Copy link
Member

Should fix #13450

My assumption is that the anchorEl and modifiers was always triggering the creation of a new popper.js instance.

After those memorization I do not manage to reproduce the error message

@alexfauquette alexfauquette added the component: charts This is the name of the generic UI component, not the React module! label Feb 13, 2025
@mui-bot
Copy link

mui-bot commented Feb 13, 2025

Deploy preview: https://deploy-preview-16564--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 23765b9

Copy link

codspeed-hq bot commented Feb 13, 2025

CodSpeed Performance Report

Merging #16564 will not alter performance

Comparing alexfauquette:fix-max-depth (23765b9) with master (1df6e9e)

Summary

✅ 6 untouched benchmarks

@alexfauquette alexfauquette merged commit 0b19e42 into mui:master Feb 13, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: charts This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[charts] hovering over charts causes 'maximum update depth exceeded' error
4 participants