Repository navigation
Commit 0741e30
committed
fix: clear text-list nodes when pure-host path takes over a child slot
The pure-host branch in childSlot checked state.block and state.text before
calling clearChildContent, but did not check state.texts. After a lazily
loaded factory installs CHILD_LISTS, a hole that still holds a text list
could receive an unkeyed host element. The new host mounted and the previous
text-list DOM nodes remained in the document.
Add state.texts to the guard, matching the text/empty path which already
includes it.1 parent e41ff79 commit 0741e30
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1127 | 1127 | | |
1128 | 1128 | | |
1129 | 1129 | | |
1130 | | - | |
| 1130 | + | |
| 1131 | + | |
1131 | 1132 | | |
1132 | 1133 | | |
1133 | 1134 | | |
| |||
0 commit comments