mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add scrollEventThrottle to validAttributes to ScrollView view config on Android
Summary: The `scrollEventThrottle` prop is missing in the ViewConfig for ScrollView for the Android platform. Because of that it was ignored by native in the New Architecture. This diff fixes that. Changelog: [Android][Fixed] - Add support for scrollEventThrottle for ScrollView on the New Architecture. Reviewed By: fkgozali Differential Revision: D54303157 fbshipit-source-id: 824f32c2f9fb3958271b094bbfc770992a4335e1
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4cfac8eea6
commit
4d2262b8d2
+1
@@ -60,6 +60,7 @@ export const __INTERNAL_VIEW_CONFIG: PartialViewConfig =
|
||||
sendMomentumEvents: true,
|
||||
borderRadius: true,
|
||||
nestedScrollEnabled: true,
|
||||
scrollEventThrottle: true,
|
||||
borderStyle: true,
|
||||
borderRightColor: {
|
||||
process: require('../../StyleSheet/processColor').default,
|
||||
|
||||
Reference in New Issue
Block a user