Skip to content

Gate ScrollView FPS listener fix behind feature flag#56817

Closed
Abbondanzo wants to merge 1 commit into
react:mainfrom
Abbondanzo:export-D105068773
Closed

Gate ScrollView FPS listener fix behind feature flag#56817
Abbondanzo wants to merge 1 commit into
react:mainfrom
Abbondanzo:export-D105068773

Conversation

@Abbondanzo

Copy link
Copy Markdown
Contributor

Summary:
#56609 fixed ReactHorizontalScrollView, preserving mFpsListener across view recycling. This gates that fix behind the fixScrollViewFpsListenerOnRecycleAndroid feature flag to allow controlled rollout and detect potential performance regressions.

When the flag is enabled, mFpsListener is preserved from the constructor argument (the fix). When disabled, it is set to null at construction time, effectively disabling FPS performance tracking as a safe fallback.

Changelog: [Internal]

Differential Revision: D105068773

Summary:
react#56609 fixed `ReactHorizontalScrollView`, preserving `mFpsListener` across view recycling. This gates that fix behind the `fixScrollViewFpsListenerOnRecycleAndroid` feature flag to allow controlled rollout and detect potential performance regressions.

When the flag is enabled, `mFpsListener` is preserved from the constructor argument (the fix). When disabled, it is set to `null` at construction time, effectively disabling FPS performance tracking as a safe fallback.

Changelog: [Internal]

Differential Revision: D105068773
@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 13, 2026
@meta-codesync

meta-codesync Bot commented May 13, 2026

Copy link
Copy Markdown

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

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