Skip to content

Commit

Permalink
Fix dragging not being disabled after scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiddot committed Apr 19, 2022
1 parent fdc19f7 commit 06fd88a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/components/src/draggable/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ const Draggable = ( { children, onDragEnd, onDragOver, onDragStart } ) => {
onDragOver( event );
}
} )
.onEnd( () => {
isDragging.value = false;
} )
.withRef( panGestureRef )
.shouldCancelWhenOutside( false );

Expand Down

0 comments on commit 06fd88a

Please sign in to comment.