Open imperator-maximus opened 1 year ago
I have
` const arrow = arrowCreate({ from:{ direction: DIRECTION.LEFT, node: from, translation: [-0.5, -1], }, to:{ direction: DIRECTION.RIGHT, node: gw_node, translation: [-0.5, -1], },
})`
where from and gw_node are inside shadowRoot of custom elements. But I am getting
'Uncaught (in promise) Error: point is null, check if 'from'/'to' exists' so the arrow itself could be inside a shadow-dom and also from and to elements in my case.
'Uncaught (in promise) Error: point is null, check if 'from'/'to' exists'
hm, could you post some codesandbox example on which I could rely to fix / improve library?
I have
` const arrow = arrowCreate({ from:{ direction: DIRECTION.LEFT, node: from, translation: [-0.5, -1], }, to:{ direction: DIRECTION.RIGHT, node: gw_node, translation: [-0.5, -1], },
where from and gw_node are inside shadowRoot of custom elements. But I am getting
'Uncaught (in promise) Error: point is null, check if 'from'/'to' exists'
so the arrow itself could be inside a shadow-dom and also from and to elements in my case.