From 93905e0eaba690c946152f1ec30771d3a2be2ecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=90=E8=A1=8C=E6=B8=90=E8=BF=9C=5FKM?= Date: Mon, 22 Jul 2024 16:47:30 +0800 Subject: [PATCH] fate: magnifier should be fully displayed at the edge of the editor without being cropped, just like the TextFiled magnifier (#846) --- lib/src/editor/editor_component/service/editor.dart | 1 + .../service/selection/mobile_selection_service.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/src/editor/editor_component/service/editor.dart b/lib/src/editor/editor_component/service/editor.dart index 6d5ec26ab..e8aa516eb 100644 --- a/lib/src/editor/editor_component/service/editor.dart +++ b/lib/src/editor/editor_component/service/editor.dart @@ -246,6 +246,7 @@ class _AppFlowyEditorState extends State { value: editorState, child: FocusScope( child: Overlay( + clipBehavior: Clip.none, initialEntries: [ OverlayEntry( builder: (context) => services!, diff --git a/lib/src/editor/editor_component/service/selection/mobile_selection_service.dart b/lib/src/editor/editor_component/service/selection/mobile_selection_service.dart index ca11ee612..b50ab8ddb 100644 --- a/lib/src/editor/editor_component/service/selection/mobile_selection_service.dart +++ b/lib/src/editor/editor_component/service/selection/mobile_selection_service.dart @@ -120,6 +120,7 @@ class _MobileSelectionServiceWidgetState @override Widget build(BuildContext context) { final stack = Stack( + clipBehavior: Clip.none, children: [ widget.child,