Skip to content

Remove stale disableMaintainVisibleContentPosition feature flag (#56725)#56727

Closed
javache wants to merge 1 commit intofacebook:mainfrom
javache:export-D104378114
Closed

Remove stale disableMaintainVisibleContentPosition feature flag (#56725)#56727
javache wants to merge 1 commit intofacebook:mainfrom
javache:export-D104378114

Conversation

@javache
Copy link
Copy Markdown
Member

@javache javache commented May 8, 2026

Summary:

Remove the stale disableMaintainVisibleContentPosition feature flag which was never rolled out (defaultValue: false, expectedReleaseValue: false). This flag was intended to disable the maintainVisibleContentPosition prop in ScrollView but was never enabled.

Changes:

  • Remove the feature flag definition from ReactNativeFeatureFlags
  • Simplify ScrollView.js by removing the unnecessary destructuring of maintainVisibleContentPosition (now passed through via otherProps spread)
  • Remove related generated code

Changelog:

[General][Removed] - Removed the unused disableMaintainVisibleContentPosition feature flag from ReactNativeFeatureFlags

Reviewed By: javache, cortinico

Differential Revision: D104378114

…book#56725)

Summary:

Remove the stale `disableMaintainVisibleContentPosition` feature flag which was never rolled out (defaultValue: false, expectedReleaseValue: false). This flag was intended to disable the `maintainVisibleContentPosition` prop in ScrollView but was never enabled.

Changes:
- Remove the feature flag definition from ReactNativeFeatureFlags
- Simplify ScrollView.js by removing the unnecessary destructuring of `maintainVisibleContentPosition` (now passed through via otherProps spread)
- Remove related generated code

## Changelog:
[General][Removed] - Removed the unused `disableMaintainVisibleContentPosition` feature flag from ReactNativeFeatureFlags

Reviewed By: javache, cortinico

Differential Revision: D104378114
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 8, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 8, 2026

@javache has exported this pull request. If you are a Meta employee, you can view the originating Diff in D104378114.

Copy link
Copy Markdown
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@meta-codesync meta-codesync Bot closed this in 661ce06 May 8, 2026
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by generatedunixname1608173377072046 in 661ce06

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label May 8, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 8, 2026

This pull request has been merged in 661ce06.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants