AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] Backwards Selection that includes a List is buggy

Đang mở
#707 0 bình luận 0 reaction 1 người được giao Được giao cho @LucasXu0 Xem trên GitHub
bug editor p1
Ngôn ngữ chính
Dart
Star
684
Fork
329
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Bug Description

When selecting backwards/upwards and the selection passes a List, the selection is quite buggy. Eg. by continually using `Shift + Arrow Key Up`, the selection will only go 1 line above the list and keep going back after.

Also, while the Selection does look "fine" by mouse, I can tell using the Selection Word Count that something is wrong with either `getSelectedNodes` or somewhere else, when selecting upwards including a List.

This issue is not present when selection forwards.

### How to Reproduce

Select backwards, passing a list.

Select backwards using `Shift + Arrow Key Up`, passing a List.

### Expected Behavior

Selection is fine

### Operating System

MacOS

### AppFlowy Editor Version(s)

main

### Screenshots

https://github.com/AppFlowy-IO/appflowy-editor/assets/42929161/0b9d5c3e-a5ed-4117-b295-026df1dcb670

### Additional Context

_No response_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.