Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(flow-react): avoid Flow-React portal outlet removal conflicts (#20770) (CP: 24.6) #20862

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

Lodin
Copy link
Contributor

@Lodin Lodin commented Jan 16, 2025

No description provided.

…0770)

Some routing cases in hybrid Flow layout + React view applications could produce DOM tree conflicts from Flow server-side changes and React client-side portal removal happening simultaneously. This could throw DOM `NotFoundError` in the browser. This change introduces a dedicated DOM element for React portal outlet, which allows to avoid the error.

Fixes vaadin/hilla#3002

---------

Co-authored-by: Vlad Rindevich <[email protected]>

(cherry picked from commit 66443d4)
@Lodin Lodin requested a review from caalador January 16, 2025 11:37
@caalador caalador enabled auto-merge (squash) January 16, 2025 11:39
Copy link

Test Results

1 159 files  ± 0  1 159 suites  ±0   1h 34m 50s ⏱️ - 1m 39s
7 581 tests ± 0  7 525 ✅ ± 0  56 💤 ±0  0 ❌ ±0 
7 953 runs  +34  7 888 ✅ +35  65 💤  - 1  0 ❌ ±0 

Results for commit ce9b032. ± Comparison against base commit c72e2a4.

@caalador caalador merged commit 4cdf24a into 24.6 Jan 16, 2025
25 of 26 checks passed
@caalador caalador deleted the cherry/20770-to-24.6 branch January 16, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants