Repository navigation
feat: portal support for react 19 - #34916
Merged
Dmytro Kirpa (dmytrokirpa) merged 16 commits intoAug 6, 2025
Merged
Dmytro Kirpa (dmytrokirpa) merged 16 commits into
Dmytro Kirpa (dmytrokirpa) merged 16 commits into
Conversation
Dmytro Kirpa (dmytrokirpa)
force-pushed
the
chore/react-portal-19-attempt3
branch
from
July 26, 2025 09:32
9c39e02 to
b68ba07
Compare
📊 Bundle size reportUnchanged fixtures
|
|
Pull request demo site: URL |
Dmytro Kirpa (dmytrokirpa)
requested a review
from Oleksandr Fediashov (layershifter)
July 29, 2025 14:55
Dmytro Kirpa (dmytrokirpa)
marked this pull request as ready for review
July 29, 2025 14:55
Atishay Jain (atisjai) (AtishayMsft)
approved these changes
Jul 29, 2025
Martin Hochel (Hotell)
self-requested a review
July 30, 2025 12:04
Dmytro Kirpa (dmytrokirpa)
force-pushed
the
chore/react-portal-19-attempt3
branch
from
July 31, 2025 15:29
1da4fed to
e11a0e6
Compare
Contributor
|
Any other PR: This: Looks like progress on React 19 |
Dmytro Kirpa (dmytrokirpa)
force-pushed
the
chore/react-portal-19-attempt3
branch
from
August 5, 2025 13:24
e11a0e6 to
3e7feb7
Compare
Dmytro Kirpa (dmytrokirpa)
requested review from
Martin Hochel (Hotell) and
Oleksandr Fediashov (layershifter)
August 5, 2025 13:28
Oleksandr Fediashov (layershifter)
approved these changes
Aug 5, 2025
Martin Hochel (Hotell)
approved these changes
Aug 6, 2025
Martin Hochel (Hotell)
left a comment
Contributor
There was a problem hiding this comment.
FYI: all major pipelines are failing, make sure to resolve
approving as there are no additional changes needed, thx!
Dmytro Kirpa (dmytrokirpa)
force-pushed
the
chore/react-portal-19-attempt3
branch
from
August 6, 2025 13:17
b8b0fe0 to
e7cc3db
Compare
Dmytro Kirpa (dmytrokirpa)
enabled auto-merge (squash)
August 6, 2025 15:35
Tudor Popa (tudorpopams)
pushed a commit
to tudorpopams/fluentui
that referenced
this pull request
Apr 14, 2026
Co-authored-by: Oleksandr Fediashov <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
This PR continues the Oleksandr Fediashov (@layershifter) effort started in #34869 to address issues with portal behavior in React 19.
The original approach in #33978 had to be reverted due to portal unmounting issues.
Key changes
use-disposable, which is incompatible with React 19 and cannot be adapted for concurrent rendering.<span />fallback element inside portals to ensure portals are never “empty” in concurrent scenarios.Previous Behavior
use-disposable, which caused unmounting/mounting inconsistencies and was incompatible with React 19.New Behavior
useModernElementFactory:Related Issue(s)