Skip to content

Commit

Permalink
Add pointerenter/leave priorities (#21077)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Mar 24, 2021
1 parent a63f095 commit 148f8e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-dom/src/events/ReactDOMEventListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,8 @@ export function getEventPriority(domEventName: DOMEventName): * {
// eslint-disable-next-line no-fallthrough
case 'mouseenter':
case 'mouseleave':
case 'pointerenter':
case 'pointerleave':
return ContinuousEventPriority;
case 'message': {
// We might be in the Scheduler callback.
Expand Down

0 comments on commit 148f8e4

Please sign in to comment.