react-xarrows icon indicating copy to clipboard operation
react-xarrows copied to clipboard

If id is removed from dom or not available Xarrow must give error

Open vikasacharya16 opened this issue 3 years ago • 4 comments

<YourComponent id={'comp1'}/>
<YourComponent id={'comp2'}/>
<Xarrow start={'comp1'} end={'comp2'}/>

if comp2 is remove from dom Then I was getting like below. Instead Xarrow show give an error or something to handle this situation. Also When i put comp2 back Xarrow is not rerendering. Kindly fix the issue

chrome-capture

vikasacharya16 avatar Apr 14 '22 08:04 vikasacharya16

Did you solve the issue @vikasacharya16 ?

gbarkhatov avatar Feb 24 '23 08:02 gbarkhatov

Any updates on this @vikasacharya16 ?

viktormarinho avatar May 22 '23 22:05 viktormarinho

@gbarkhatov @viktormarinho No, I didn't solved. if the dom element start or end is removed then relation should vanish. if its changed it should rerender. give me some hints on how to achieve this.

vikasacharya16 avatar Nov 28 '23 18:11 vikasacharya16