refactor(panning): enable panning when nodesDraggable is false #1457

This commit is contained in:
moklick
2022-09-01 12:12:16 +02:00
parent c4cac4caa6
commit 2172522a0b
6 changed files with 9 additions and 2 deletions
@@ -261,6 +261,7 @@ const ReactFlow = forwardRef<ReactFlowRefType, ReactFlowProps>(
onSelectionDrag={onSelectionDrag}
onSelectionDragStart={onSelectionDragStart}
onSelectionDragStop={onSelectionDragStop}
noPanClassName={noPanClassName}
/>
{onSelectionChange && <SelectionListener onSelectionChange={onSelectionChange} />}
{children}