We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b37c1af commit a994a3aCopy full SHA for a994a3a
packages/react-native-renderer/src/ReactNativeBridgeEventPlugin.js
@@ -213,8 +213,10 @@ const ReactNativeBridgeEventPlugin = {
213
bubbles: nativeEvent.bubbles,
214
phasedRegistrationNames: {
215
bubbled: topLevelType,
216
- // $FlowFixMe
217
- captured: topLevelType + 'Capture',
+ // Unlike with the props-based handlers, capture events are registered
+ // to the HostComponent event emitter with the same name but a flag indicating
218
+ // that the handler is for the capture phase.
219
+ captured: topLevelType,
220
},
221
};
222
}
0 commit comments