Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: cursor cannot be selected in same position.
Lucas.Xu89a0a5599e40
diff --git a/frontend/app_flowy/packages/flowy_editor/lib/render/selection/cursor_widget.dart b/frontend/app_flowy/packages/flowy_editor/lib/render/selection/cursor_widget.dartindex 6a27eed855..19da4b55f4 100644--- a/frontend/app_flowy/packages/flowy_editor/lib/render/selection/cursor_widget.dart+++ b/frontend/app_flowy/packages/flowy_editor/lib/render/selection/cursor_widget.dart@@ -64,8 +64,12 @@ class CursorWidgetState extends State<CursorWidget> {link: widget.layerLink,offset: widget.rect.topCenter,showWhenUnlinked: true,- child: Container(- color: showCursor ? widget.color : Colors.transparent,+ // Ignore the gestures in cursor+ // to solve the problem that cursor area cannot be selected.+ child: IgnorePointer(+ child: Container(+ color: showCursor ? widget.color : Colors.transparent,+ ),),),);