diff --git a/lib/src/editor/widgets/delegate.dart b/lib/src/editor/widgets/delegate.dart index 70543529..a2f81a9d 100644 --- a/lib/src/editor/widgets/delegate.dart +++ b/lib/src/editor/widgets/delegate.dart @@ -647,6 +647,10 @@ class EditorTextSelectionGestureDetectorBuilder { @protected void onDragSelectionStart(TapDragStartDetails details) { if (delegate.selectionEnabled == false) return; + // underline show open on ios and android, + // when has isCollapsed, show not reposonse to tapdarg gesture + // so that will not change texteditingvalue, + // and same issue to TextField, tap selection area, will lost selection, // if (editor?.textEditingValue.selection.isCollapsed == false) return; final kind = details.kind;