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
Each time a cytoscape instance is created and destroyed, there are remnant DOM nodes added to the body that are not removed. They seem to correspond to the last node in the graph, "George" in this case.
Hi, I think I've found the problem and I've issued a PR. The div is used to calculate the dimension of each labels, but it's appended to the body and never removed during the destroy.
I've proposed two way to solve it: removing the element during the destroy or appending the element into the cytoscape container. Either methods works correctly.
Each time a cytoscape instance is created and destroyed, there are remnant DOM nodes added to the body that are not removed. They seem to correspond to the last node in the graph, "George" in this case.
Here's the plunker: http://run.plnkr.co/plunks/4vKxA6Lqlqm7DxiuE8At/ and code is at http://plnkr.co/edit/4vKxA6Lqlqm7DxiuE8At?p=info
The text was updated successfully, but these errors were encountered: