onMouseOver/onMouseLeave/etc. functions are not stable
See original GitHub issueFor usual <div>
or other html components this is not an issue.
But if I pass these functions through several components these intermediate components rerender too often.
I need this component hierarchy when I want to only show a single Popper while there are many anchorEl
s.
If it’s not hard to make these functions stable, I guess it will bring value.
P.S. I could provide a PR if you agree that this is useful
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How to set Condition in JavaScript event when it will ...
I think you want to use .addEventListener() in order to make it work as you expect. This is how it should be done:...
Read more >Difference between mouseover, mouseenter and mousemove ...
Example: The following example demonstrates the difference between onmousemove, onmouseenter and onmouseover events used in JavaScript: ...
Read more >OnMouseOver etc just dont work - Unity Forum
I have a project using OnMouseEnter/Exit in 2.1, and when I imported it into 2.5 it continues to work with no problems. Code...
Read more >I want to cover the onMouseover event in JavaScript by writing ...
1 Answer 1 · I'd recommend setting some data attribute to rely on in jest tests to grab exactly what you want versus...
Read more >Moving the mouse: mouseover/out, mouseenter/leave
The mousemove event triggers when the mouse moves. But that doesn't mean that every pixel leads to an event. The browser checks the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thus far, I’ve tried to support MUI v4 still. I’d rather dig into it myself, but thanks!
🎉 This issue has been resolved in version 5.0.0 🎉
The release is available on:
Your semantic-release bot 📦🚀