AppFlowy-IO / AppFlowy-IO/AppFlowy

[Bug] cursor position

Open
#2,857 3 comments 0 reactions 1 assignee Assigned to @LucasXu0 View on GitHub
2024 bug editor Q3 26
Dominant language
Dart
Stars
76.6k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### Bug Description

![Untitled video](https://github.com/AppFlowy-IO/AppFlowy/assets/12026239/0d608b3a-99ed-4ea5-ad93-77f2da95e1ce)

### How to Reproduce

ctrl + shift + > to select the sentence
press the down arrow

### Expected Behavior

un-select the text
the cursor is in the end of the current selection if there isn't a line inserted by Enter
the cursor is in the beginning of the next line (block) if there is an empty line
the cursor is in the end of the next text block if there is another non-empty line

FYI: check how google docs handles it

### Operating System

Windows 11

### AppFlowy Version(s)

v0.2.2

### Screenshots

_No response_

### Additional Context

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.