Skip to content

Conversation

@SteffenDE
Copy link
Collaborator

@SteffenDE SteffenDE commented Jan 7, 2026

Closes #4095.

The initial render does not contain the magic id attributes, but we never updated the template element itself. When a cloned tree was restored, the template therefore contained outdated nodes that were missing the magic id attribute.
Then, when an update with phx-skip arrived, we would replace it as the DOM node was missing its magic id.

@SteffenDE SteffenDE marked this pull request as ready for review January 8, 2026 09:55
Closes #4095.

The initial render does not contain the magic id attributes,
but we never updated the template element itself. When a cloned
tree was restored, the template therefore contained outdated nodes
that were missing the magic id attribute.
Then, when an update with phx-skip arrived, we would replace it
as the DOM node was missing its magic id.
@SteffenDE SteffenDE merged commit f71195c into main Jan 8, 2026
16 checks passed
@SteffenDE SteffenDE deleted the sd-issue-4095 branch January 8, 2026 17:37
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.

Content of portals disappears

2 participants