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
@@ -49,6 +49,7 @@ const FlowRenderer = ({
defaultPosition,
defaultZoom,
translateExtent,
preventScrolling,
onSelectionDragStart,
onSelectionDrag,
onSelectionDragStop,
@@ -103,6 +104,7 @@ const FlowRenderer = ({
defaultZoom={defaultZoom}
translateExtent={translateExtent}
zoomActivationKeyCode={zoomActivationKeyCode}
preventScrolling={preventScrolling}
>
{children}
<UserSelection selectionKeyPressed={selectionKeyPressed} />