mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix inconsistency on AndroidTextInput view configs
Summary: BubblingEventTypes are inconsistent between AndroidTextInputViewConfig.js and ReactTextInputManager.java, this diff fixes this inconsistency changelog: [internal] Reviewed By: JoshuaGross Differential Revision: D22470096 fbshipit-source-id: 3940dcc0ae67a42ac070c06ec2d54bc365eab6b7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3503d722a1
commit
d5bc0a7bff
@@ -16,6 +16,36 @@ import type {ReactNativeBaseComponentViewConfig} from '../../Renderer/shims/Reac
|
||||
const AndroidTextInputViewConfig = {
|
||||
uiViewClassName: 'AndroidTextInput',
|
||||
bubblingEventTypes: {
|
||||
topBlur: {
|
||||
phasedRegistrationNames: {
|
||||
bubbled: 'onBlur',
|
||||
captured: 'onBlurCapture',
|
||||
},
|
||||
},
|
||||
topEndEditing: {
|
||||
phasedRegistrationNames: {
|
||||
bubbled: 'onEndEditing',
|
||||
captured: 'onEndEditingCapture',
|
||||
},
|
||||
},
|
||||
topFocus: {
|
||||
phasedRegistrationNames: {
|
||||
bubbled: 'onFocus',
|
||||
captured: 'onFocusCapture',
|
||||
},
|
||||
},
|
||||
topKeyPress: {
|
||||
phasedRegistrationNames: {
|
||||
bubbled: 'onKeyPress',
|
||||
captured: 'onKeyPressCapture',
|
||||
},
|
||||
},
|
||||
topSubmitEditing: {
|
||||
phasedRegistrationNames: {
|
||||
bubbled: 'onSubmitEditing',
|
||||
captured: 'onSubmitEditingCapture',
|
||||
},
|
||||
},
|
||||
topTextInput: {
|
||||
phasedRegistrationNames: {
|
||||
bubbled: 'onTextInput',
|
||||
|
||||
Reference in New Issue
Block a user