Skip to content

Commit

Permalink
fix: using space bar to move the cursor not working on Android (#1013)
Browse files Browse the repository at this point in the history
  • Loading branch information
asjqkkkk authored Jan 7, 2025
1 parent 2490f69 commit 4bcbfb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Future<void> onNonTextUpdate(
// for the another keyboards (e.g. system keyboard), they will trigger the
// `onFloatingCursor` event instead.
AppFlowyEditorLog.input.debug('[Android] onNonTextUpdate: $nonTextUpdate');
if (selection != null && selection != editorState.selection) {
if (selection != null) {
editorState.updateSelectionWithReason(
Selection.collapsed(
Position(
Expand Down

0 comments on commit 4bcbfb0

Please sign in to comment.