diff --git a/lib/src/swipe_detector.dart b/lib/src/swipe_detector.dart index 1bcc412..e94d15b 100644 --- a/lib/src/swipe_detector.dart +++ b/lib/src/swipe_detector.dart @@ -162,6 +162,7 @@ class _SwipeDetectorState extends State { behavior: widget.behavior, onPanStart: (details) { _startPosition = details.globalPosition; + _updatePosition = details.globalPosition; }, onPanUpdate: (details) { _updatePosition = details.globalPosition;