wikitree-dynamic-tree icon indicating copy to clipboard operation
wikitree-dynamic-tree copied to clipboard

Ancestor Webs adds 65535 children to SVG

Open faceless2 opened this issue 1 year ago • 0 comments

If I load any profile in the "Ancestor Webs" tree, even one with no connections (eg "Gil-417"), it seems to keep adding elements to the SVG until the DOM stops it.

Open the tree, open JS console then execute

document.querySelector("#view-container > svg > g").children.length;

You'll see something like 65535 children.

I would not suggest trying to debug this in Safari, it will lock up! Chrome seems OK

faceless2 avatar Feb 12 '25 18:02 faceless2