Skip to content

Commit

Permalink
<ScrollView/>: Add static ViewConfig for maintainVisibleContentPosition
Browse files Browse the repository at this point in the history
Summary:
This prop was introduced for horizontal and vertical scrollview in D40642469.

That diff updated the native view configs only.

**Note:** This prop does 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
  • Loading branch information
RSNara authored and facebook-github-bot committed May 2, 2024
1 parent ca86fdf commit d072d3c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d072d3c

Please sign in to comment.