-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
If you have a text element with a title element inside, moving that text element will fail with:
Uncaught TypeError: Cannot read properties of undefined (reading 'newLined') at Dom.<anonymous> (Text.js:56:22) at Text.each (Dom.js:84:13) at Text.rebuild (Text.js:50:12) at Text.attr (attr.js:79:12) at Text.ax (textable.js:68:15)
DOM:
<text x="200" y="294">row10<title>row10</title></text>
Reason: .ax() is leading to a rebuild of the text element. Rebuilding the text element will also go through all children. When reaching the title child element, there is no this.dom.
Metadata
Metadata
Assignees
Labels
No labels