From 52ba0c0092616d25056c6738c80f0c39ca6959cd Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Mon, 28 Nov 2022 18:44:48 +0800 Subject: [PATCH] fix: the cursor shows sometimes when tapping the checkbox --- .../appflowy_editor/lib/src/render/rich_text/checkbox_text.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/checkbox_text.dart b/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/checkbox_text.dart index a2e0aa5d32..90c2eb3fb4 100644 --- a/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/checkbox_text.dart +++ b/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/checkbox_text.dart @@ -84,6 +84,7 @@ class _CheckboxNodeWidgetState extends State GestureDetector( key: iconKey, child: icon, + behavior: HitTestBehavior.opaque, onTap: () async { await widget.editorState.formatTextToCheckbox( widget.editorState,