learn-anything / react-mindmap

React component for MindNode maps
https://learn-anything.xyz
MIT License
422 stars 107 forks source link

The svg is going in a cyclic mode with editable #19

Closed jdebug closed 7 years ago

jdebug commented 7 years ago

The svg is going in a cyclic mode when the no coordinates mapping is opened in editable mode. mindmap-issue

nglgzz commented 7 years ago

Seems like for some reason forceSimulation is not stopping. Gonna try to have a look at it tomorrow.

nglgzz commented 7 years ago

I had a look but couldn't find what the problem was. I might look into it later on. In the meantime if you manage to fix it feel free to submit a PR.

jeff-an commented 7 years ago

Having the same issue. I tried rerendering the graph entirely instead of updating the editable prop but the spinning still happens.

nglgzz commented 7 years ago

I should have fixed it, you can try updating react-mindmap to v2.1.5.

I'm gonna close this issue for now, feel free to reopen it if you still have problems.

adamiprinciples commented 6 years ago

I'm afraid I'm still getting this issue in v2.2.0 with editable and no coordinates on nodes