dillon1000/react
Commit
Browse files Fix double-firing mouseenter (#19571)
* test: Simulate mouseover in browser * Fix duplicate onMouseEnter event when relatedTarget is a root * Test leave as well Co-authored-by: Sebastian Silbermann <[email protected]>
Changed paths2 files
First-parent comparisonpackages/react-dom/src/__tests__/ReactDOMFiber-test.js ModifiedM packages/react-dom/src/events/plugins/EnterLeaveEventPlugin.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…