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:
Dmitry Rykun
2024-03-01 03:12:08 -08:00
committed by Facebook GitHub Bot
parent 4cfac8eea6
commit 4d2262b8d2
@@ -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,