Add support for pointerover and pointerout

Summary: Changelog: [Internal] - Add pointerover, pointerout events

Reviewed By: vincentriemer

Differential Revision: D38559454

fbshipit-source-id: 829b9f2f22e1e41a64dcce80fcc79ab9e6352dcf
This commit is contained in:
Luna Wei
2022-08-15 12:51:58 -07:00
committed by Facebook GitHub Bot
parent 92e4ed6a28
commit dfcd9faaad
11 changed files with 210 additions and 17 deletions
@@ -90,6 +90,18 @@ const bubblingEventTypes = {
bubbled: 'onPointerUp',
},
},
topPointerOut: {
phasedRegistrationNames: {
captured: 'onPointerOutCapture',
bubbled: 'onPointerOut',
},
},
topPointerOver: {
phasedRegistrationNames: {
captured: 'onPointerOverCapture',
bubbled: 'onPointerOver',
},
},
};
const directEventTypes = {