AppFlowy-IO / AppFlowy-IO/AppFlowy

[Bug] Issue with selecting and navigating multiple lines of text.

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

Description

### Bug Description

1. Pressing [Home] and [End] references the entire element, not just the line.
2. Selecting multiple text elements leaves the last selection box (the one that is supposed to indicate where the cursor will be, after removing the selection), in the beginning of the line, instead of the end. Although, it is only a visual bug, the cursor still is placed where expected.

### How to Reproduce

1. Press [Home] or [End] in a multi-line text element.
2. Select multiple lines from multiple text elements at once.

### Expected Behavior

1. [Home] and [End] always leads you to the beginning and end of the current line.
2. Selection always correctly indicates where the cursor will end up.

### Operating System

Fedora Linux 38 (Workstation Edition)

### AppFlowy Version(s)

Gnome Software, 0.3.7

### Screenshots

[Screencast from 2023-11-08 11-17-11.webm](https://github.com/AppFlowy-IO/AppFlowy/assets/79970290/e7c89613-8f00-49f3-b56a-971907764cc3)

### 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.