fix onSelectionEnd behavior

This commit is contained in:
peterkogo
2025-10-27 15:53:06 +01:00
parent 5ec0cac7fa
commit 1f43ccc3ab
4 changed files with 12 additions and 8 deletions

View File

@@ -45,6 +45,8 @@ const BasicFlow = () => {
onMove={onMove}
onMoveEnd={onMoveEnd}
onPaneClick={(e) => console.log('pane click', e)}
onSelectionStart={(e) => console.log('on selection start', e)}
onSelectionEnd={(e) => console.log('on selection end', e)}
>
<Background variant={BackgroundVariant.Cross} />
<Controls />