You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #269 Allow SVG elements in LiveComponent (norkunas)
This PR was merged into the 2.x branch.
Discussion
----------
Allow SVG elements in LiveComponent
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| Tickets | N/A
| License | MIT
When the component contains svg elements then it throws error on rerender:
```
Uncaught (in promise) Error: Could not clone element
at cloneHTMLElement (live_controller.js:977:15)
at onBeforeElUpdated (live_controller.js:1331:46)
at morphEl (live_controller.js:492:21)
at morphChildren (live_controller.js:605:33)
at morphEl (live_controller.js:507:15)
at morphChildren (live_controller.js:605:33)
at morphEl (live_controller.js:507:15)
at morphChildren (live_controller.js:605:33)
at morphEl (live_controller.js:507:15)
at morphdom (live_controller.js:722:13)
```
Commits
-------
c25f021 Allow SVG elements in LiveComponent
0 commit comments