AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] Backwards Selection that includes a List is buggy

未关闭
#707 0 条评论 0 个 reaction 已指派 1 人 已指派给 @LucasXu0 在 GitHub 查看
bug editor p1
主要语言
Dart
星标
684
派生
329
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。