From 9dbb439a430a57ba8ff01fb9fb6926ff67b4fe00 Mon Sep 17 00:00:00 2001 From: Angelo Silvestre Date: Wed, 11 Oct 2023 02:07:01 -0300 Subject: [PATCH] [SuperEditor][web] Defer to browser toolbar and magnifier (Resolves #1390) (#1483) --- .../document_gestures_touch_android.dart | 19 +++++++++++++------ .../platforms/ios/ios_document_controls.dart | 18 ++++++++++++------ 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/super_editor/lib/src/default_editor/document_gestures_touch_android.dart b/super_editor/lib/src/default_editor/document_gestures_touch_android.dart index 7ce06b0d53..68af24e9fa 100644 --- a/super_editor/lib/src/default_editor/document_gestures_touch_android.dart +++ b/super_editor/lib/src/default_editor/document_gestures_touch_android.dart @@ -23,6 +23,7 @@ import 'package:super_editor/src/infrastructure/platforms/android/magnifier.dart import 'package:super_editor/src/infrastructure/platforms/android/selection_handles.dart'; import 'package:super_editor/src/infrastructure/platforms/mobile_documents.dart'; import 'package:super_editor/src/infrastructure/selection_leader_document_layer.dart'; +import 'package:super_editor/src/infrastructure/text_input.dart'; import 'package:super_editor/src/infrastructure/toolbar_position_delegate.dart'; import 'package:super_editor/src/infrastructure/touch_controls.dart'; import 'package:super_editor/src/super_textfield/metrics.dart'; @@ -1494,16 +1495,22 @@ class _AndroidDocumentTouchEditingControlsState extends State