Change to SelectionChangedCause.drag

pull/271/head
Xin Yao 4 years ago
parent dcd01672e0
commit 0768feddcb
  1. 2
      lib/src/widgets/text_selection.dart

@ -159,7 +159,7 @@ class EditorTextSelectionOverlay {
selectionDelegate selectionDelegate
..userUpdateTextEditingValue( ..userUpdateTextEditingValue(
value.copyWith(selection: newSelection, composing: TextRange.empty), value.copyWith(selection: newSelection, composing: TextRange.empty),
SelectionChangedCause.keyboard) SelectionChangedCause.drag)
..bringIntoView(textPosition); ..bringIntoView(textPosition);
} }

Loading…
Cancel
Save