Commit a44c0d5
committed
fix: pass DOM node instead of innerHTML string to Idiomorph.morph
Idiomorph's innerHTML morphStyle expects a node reference, not a raw
HTML string. Passing tmp (the wrapper element) instead of tmp.innerHTML
fixes SVG rendering issues where nodes were being incorrectly diffed.1 parent 4a776bd commit a44c0d5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
0 commit comments