refactor(selection): make it possible to start a selection above a node #5342

This commit is contained in:
moklick
2025-10-15 15:15:07 +02:00
parent d9de28214a
commit 75aff8ef26
3 changed files with 35 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ function ColorSelectorNode({ data, isConnectable }: NodeProps<ColorSelectorNode>
<div>
Custom Color Picker Node: <strong>{data.color}</strong>
</div>
<input className="nodrag" type="color" onChange={data.onChange} defaultValue={data.color} />
<input className="nodrag nokey" type="color" onChange={data.onChange} defaultValue={data.color} />
<Handle
type="source"
position={Position.Right}