We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c77c604 commit a7722c3Copy full SHA for a7722c3
packages/flutter/lib/src/gestures/selection_recognizers.dart
@@ -268,6 +268,10 @@ class TapAndDragGestureRecognizer extends OneSequenceGestureRecognizer with _Con
268
}
269
} else if (event is PointerMoveEvent) {
270
print('handle PointerMoveEvent $event');
271
+ if (_initialButtons == kSecondaryButton) {
272
+ resolve(GestureDisposition.rejected);
273
+ return;
274
+ }
275
276
if (_state == _DragState.accepted) {
277
print('PointerMoveEvent while drag is accepted');
0 commit comments