mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
make topContentSizeChange event direct (#41011)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41011 changelog: [internal] topContentSizeChange should be a direct event. Otherwise it collides with ScrollView's `onContentSizeChange` any may break FlatList Reviewed By: javache Differential Revision: D50323281 fbshipit-source-id: dd8713acfdd5158ac8175b8efe5027d06cd0d0a8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
490b51c7c3
commit
43c9d475aa
+3
-6
@@ -31,12 +31,6 @@ const RCTTextInputViewConfig = {
|
||||
captured: 'onChangeCapture',
|
||||
},
|
||||
},
|
||||
topContentSizeChange: {
|
||||
phasedRegistrationNames: {
|
||||
captured: 'onContentSizeChangeCapture',
|
||||
bubbled: 'onContentSizeChange',
|
||||
},
|
||||
},
|
||||
topEndEditing: {
|
||||
phasedRegistrationNames: {
|
||||
bubbled: 'onEndEditing',
|
||||
@@ -97,6 +91,9 @@ const RCTTextInputViewConfig = {
|
||||
topChangeSync: {
|
||||
registrationName: 'onChangeSync',
|
||||
},
|
||||
topContentSizeChange: {
|
||||
registrationName: 'onContentSizeChange',
|
||||
},
|
||||
},
|
||||
validAttributes: {
|
||||
fontSize: true,
|
||||
|
||||
Reference in New Issue
Block a user