react-flow-chart icon indicating copy to clipboard operation
react-flow-chart copied to clipboard

errors received since last release.

Open ghost opened this issue 5 years ago • 3 comments

I couldn't solved

Selected in state does not work when we click the button in Custom Node İnner

https://mrblenny.github.io/react-flow-chart/index.html?path=/story/custom-components--node-inner

link delete not working

https://mrblenny.github.io/react-flow-chart/index.html?path=/story/custom-components--canvas-link

ghost avatar Mar 10 '20 13:03 ghost

@ffiliz I am getting the same issue. Its behaving little weird for me.

<FlowChart chart={chart.toJS()} callbacks={{ ...chartActions, }} Components={{ NodeInner: NodeInnerDefault}}/>

Above code works, but if i use a function in between for NodeInner

<FlowChart chart={chart.toJS()} callbacks={{ ...chartActions, }} Components={{ NodeInner: (args) => NodeInnerDefault(args)}}/>

This fails to trigger any callbacks. I tried with a custom function as well

function({ node }){ return <div className={cns(styles.Node)}> {node.properties.name || 'Unnamed Action'} </div> }

This also fails the same way. I tried almost everything but couldn't find any reason. I am using react version 16.9.0 Let me know if you need any more info.

91ranjan avatar Apr 04 '20 19:04 91ranjan

I am also facing the same issue. onClick is not working for NodeInner.

ChandanPHAI avatar Apr 07 '20 07:04 ChandanPHAI

@91ranjan I am using version 0.0.9 because I can not find solution

ghost avatar Apr 26 '20 22:04 ghost