Commit 4ac2da8
committed
perf: Preserve child nodes during tag name change (#8597)
Modified Neo.main.DeltaUpdates.changeNodeName to use appendChild
instead of innerHTML when moving children to the new element.
This prevents the destruction of DOM state (focus, scroll, input values)
and maintains node identity.1 parent 0c69c9c commit 4ac2da8
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
0 commit comments