From 9293804da3721a6b215ff1d6c15181bde76eebf0 Mon Sep 17 00:00:00 2001 From: Mike Allen Date: Sun, 1 Dec 2024 13:39:32 -0800 Subject: [PATCH] hide magnifier when enter toolbar overlay is hidden --- lib/src/editor/widgets/text/text_selection.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/src/editor/widgets/text/text_selection.dart b/lib/src/editor/widgets/text/text_selection.dart index fdc66bcd4..47624e09a 100644 --- a/lib/src/editor/widgets/text/text_selection.dart +++ b/lib/src/editor/widgets/text/text_selection.dart @@ -356,6 +356,9 @@ class EditorTextSelectionOverlay { _handles![1].remove(); _handles = null; } + if (_magnifierController.overlayEntry != null) { + _magnifierController.hide(); + } if (toolbar != null) { hideToolbar(); }