diff --git a/lib/src/widgets/text_selection.dart b/lib/src/widgets/text_selection.dart index a8748de1..85362c7a 100644 --- a/lib/src/widgets/text_selection.dart +++ b/lib/src/widgets/text_selection.dart @@ -157,8 +157,9 @@ class EditorTextSelectionOverlay { throw 'Invalid position'; } selectionDelegate - ..textEditingValue = - value.copyWith(selection: newSelection, composing: TextRange.empty) + ..userUpdateTextEditingValue( + value.copyWith(selection: newSelection, composing: TextRange.empty), + SelectionChangedCause.drag) ..bringIntoView(textPosition); }