Pull Request Overview
- Opened on September 10, 2026
- Status Open
- Commit count 3 with first commit September 10, 2026
Total Delta
Open Days
Test Delta
How long has this pull request spent in each phase of its lifecycle?
| Fraction of total time | Business days | Phase |
|---|---|---|
|
|
0.2 days | Authoring 2 commits before pull request opened for review |
|
|
0.1 days | Awaiting first review |
|
|
6.0 days | Revising work with 1 commit in response to 1 review that left 1 comment |
Total time for pull request still awaiting merge (longer than repo's target): 6.3 business days
[flags] Cleanup enableFragmentRefsScrollIntoView feature flag
[!NOTE]
Stacked on #37573. That PR's commit shows up in the diff here until it lands; only the second commit is part of this change.
Summary
Inlines the enabled branch of enableFragmentRefsScrollIntoView and removes the flag from ReactFeatureFlags and all of its forks.
This is a DOM-only change. The flag's only consumer was ReactFiberConfigDOM, where it guarded the definition of FragmentInstance.prototype.scrollIntoView, so the code change is a plain unwrap and dedent of that one block with no logic edits.
The flag was declared false in the native forks, but those declarations were inert: Fabric never defined scrollIntoView on FragmentInstance at all, so removing the flag does not change any native behavior.
The one combined gate, @gate enableFragmentRefsTextNodes && enableFragmentRefsScrollIntoView, was reduced to @gate enableFragmentRefsTextNodes rather than dropped.
How did you test this change?
yarn lint, yarn prettier-check, and yarn flow for dom-node, dom-browser, and fabric all pass.
Full test suite run across experimental, stable, www-modern, www-classic, and xplat, with both --variant settings, plus --persistent. The remaining failures (Fizz / Flight / FrameScheduling / ClassEquivalence) are pre-existing: I diffed the individual failing test names against the parent commit and they are identical.
Comments Threads Pending Resolution
Resolved Comment Threads
No resolved comments have been left on this PR.