<ScrollView/>: Add static ViewConfig for maintainVisibleContentPosition

Summary:
This prop was introduced for horizontal and vertical scrollview in D40642469.

That diff updated the native view configs only.

**Note:** This prop did not work for bridgeless mode.

Partial fix: Add the prop to vertical scrollview: D54223244

Full fix: this diff.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D56854757

fbshipit-source-id: aff2da407f4df4575ceb66d3d381a144fa07a8e9
This commit is contained in:
Ramanpreet Nara
2024-05-02 12:46:05 -07:00
committed by Facebook GitHub Bot
parent 0a8e2c81a9
commit 35f1e308e8
@@ -23,6 +23,7 @@ export const __INTERNAL_VIEW_CONFIG: PartialViewConfig = {
validAttributes: {
decelerationRate: true,
disableIntervalMomentum: true,
maintainVisibleContentPosition: true,
endFillColor: {process: require('../../StyleSheet/processColor').default},
fadingEdgeLength: true,
nestedScrollEnabled: true,