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 90c2eb3fb4..461fef0f30 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 @@ -83,7 +83,6 @@ class _CheckboxNodeWidgetState extends State children: [ GestureDetector( key: iconKey, - child: icon, behavior: HitTestBehavior.opaque, onTap: () async { await widget.editorState.formatTextToCheckbox( @@ -92,6 +91,7 @@ class _CheckboxNodeWidgetState extends State textNode: widget.textNode, ); }, + child: icon, ), Flexible( child: FlowyRichText(