Closed Fnxxxxo closed 2 weeks ago
Actually, it returns handlePointerDown and handleClick. It also requires different argments.
As document says, useHandle should return onMouseDown and onClick.
public export function useHandle( {handleId, nodeId, type, isValidConnection, edgeUpdaterType, onEdgeUpdate, onEdgeUpdateEnd}: UseHandleProps): {handlePointerDown: (event: MouseTouchEvent) => void, handleClick: (event: MouseEvent) => void}
No response
Thanks for the report, docs are updated now to reflect the implementation correctly.
Is there an existing issue for this?
Current Behavior
Actually, it returns handlePointerDown and handleClick. It also requires different argments.
Expected Behavior
As document says, useHandle should return onMouseDown and onClick.
Steps To Reproduce
Relevant log output
Anything else?
No response