feat(props): add preventScrolling prop closes #1077

This commit is contained in:
moklick
2021-07-01 15:30:29 +02:00
parent 55d95d3684
commit ef47500122
4 changed files with 32 additions and 4 deletions
+2
View File
@@ -73,6 +73,7 @@ const GraphView = ({
defaultZoom,
defaultPosition,
translateExtent,
preventScrolling,
nodeExtent,
arrowHeadColor,
markerEndId,
@@ -244,6 +245,7 @@ const GraphView = ({
onSelectionDrag={onSelectionDrag}
onSelectionDragStop={onSelectionDragStop}
onSelectionContextMenu={onSelectionContextMenu}
preventScrolling={preventScrolling}
>
<NodeRenderer
nodeTypes={nodeTypes}