Skip to content

Remove stale disableMaintainVisibleContentPosition feature flag#56725

Open
fkgozali wants to merge 1 commit intofacebook:mainfrom
fkgozali:export-D104195744
Open

Remove stale disableMaintainVisibleContentPosition feature flag#56725
fkgozali wants to merge 1 commit intofacebook:mainfrom
fkgozali:export-D104195744

Conversation

@fkgozali
Copy link
Copy Markdown
Contributor

@fkgozali fkgozali 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

Differential Revision: D104195744

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

Differential Revision: D104195744
@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

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

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 meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant