Open JSv4 opened 4 years ago
Have an update here. I was wrapping my app in
@JSv4 I have the same problem which I solved by removing
Just here to say that I had this issue too & solved by removing
@rashidul-hasan, I have not. I've been slammed trying to finish another project but may try to figure this out if I have the time after my next project release is ready.
For the record, anyone who is still struggling with this library, highly suggest React-Flow, which is actively maintained. It has a nice, simple API and lets you use predefined nodes or create you own custom nodetypes.
Hey, love this project and the components you guys built. I've been looking at a loooot of flowchart-type libraries, and this is definitely the most promising one I've come accross. I am running into a weird issue with a very basic application of the component. While components are being dragged, the edges connecting the nodes "jump" around (see screen capture below). I also noticed that if I drag the node offscreen, it has a tendency to jump a great distance and then it's hard to drag it back onscreen as it jumps around by large amounts when I move it. I suspect this may be due to interference between my css styling for the larger project (which uses flexbox) and styling needed for the FlowChart components, but I must confess I'm not that great with css styling, and I am unable to figure this one out. Since this may be a bug of some sort, I wanted to report it and see what you guys thought. If this is on me, my apologies for the erroneous bug report, but I'd definitely appreciate a hand.
Here's the behavior I'm seeing:
Here's my react code for my main component that is being rendered by ReactDOM.render() (it's a very simple project that I'm using to try to get the rendering and formatting right before wiring up the data):
The ReactFlowchartWrapper component is identical to the component used in the demo stories:
And here's my stylesheet:
Your assistance would be appreciated!