Skip to content

fix portal issues - #123

Merged
Bloomca merged 1 commit into
mainfrom
fix-portals-issues
Jul 17, 2026
Merged

fix portal issues#123
Bloomca merged 1 commit into
mainfrom
fix-portals-issues

Conversation

@Bloomca

@Bloomca Bloomca commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Description

Fix portal issues. There were 2 main problems:

  • we'd always insert a div tag in the source tree
  • conditional rendering of a portal and a regular element would not work correctly

To solve that, we introduce an anchor node (similar to Fragment), which is an empty text node, so should not affect CSS rules and the actual content as well.

@Bloomca
Bloomca merged commit eb21fa3 into main Jul 17, 2026
4 checks passed
@Bloomca
Bloomca deleted the fix-portals-issues branch July 17, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant