Closed larissa-n closed 3 years ago
thank you for that demo. will be fixed in the future.
Please see v1.5.0. Now app not crashes but arrows don't calculated because the elements not present in the dom. In next render of the parent the arrows will appear. Please try.
@larissa-n hey, any response before closing this issue?
Thank you, it's not crashing anymore! For some reason, the position of the arrow is off in my example. Any idea why that is?
this is still an active bug ha? re-opening
after closly checking this example i found out that the refs you passing to the arrow the wrong refs
Since portals are rendered outside of the dom, rendering a Xarrow element inside a portal will cause the application to crash.
https://codesandbox.io/s/popout-diagram-react-xarrows-7rzuj