Open TheOnlyArtz opened 3 years ago
I had the same, but when I put in scale: 1
it worked.
You have scale
commented out, if you uncomment it, it should work for you too.
This could be clearer in documentation.
Hi there, I'm seeing behavior with scale that seems like a bug. Adding 'scale: 1' to the data results in a blank canvas. No nodes render. Removing the scale from the data leads to correct rendering.
Additionally any zooming in or out results in all nodes disappearing from the canvas. Is there something I should look for in the config? Is this known behavior?
More specifically, upon zooming in or out it appears that the nodes are no longer rendered:
Changes to
I have been digging around the code looking for what might be causing this - any pointers would be awesome.
Never mind - it turns out that I was not implementing the callbacks on the custom CanvasOuter component which was causing the issue. Found in the console log
Unknown event handler property `onZoomCanvas`. It will be ignored
This was the hint that the outer canvas component was the issue.
Hi, we've been using your package and we've ran into several issues with the latest (0.0.14) when migrating from 0.0.8. Firstly, dragging a node from a sidebar into the canvas places it automatically at (0, 0) [It doesn't matter where you're dropping it at]. Secondly, trying to create a link between two nodes won't show the linking animation (unless you zoom either in or out).
Here's the code which demonstrates the second issue: