AppFlowy-IO / AppFlowy-IO/AppFlowy

[Bug] Cursor lose focus when moving up from the first line (seen on a page in a dataset)

未关闭
#8,848 0 条评论 0 个 reaction 已指派 1 人 已被 @appflowy 认领 在 GitHub 查看
bug platform-linux
主要语言
Dart
星标
76.6k
派生
6k
PR 合并指标
30 天内没有已合并 PR

描述

### Bug Description

When editing a note page in a dataset, the cursor would disappear after input the up key from anywhere in the first line of text, or left key at the beginning of the first line. I could not find a way to bring back the cursor unless use mouse click.

### How to Reproduce

1. Create a new database page (I used grid)
2. Create a new page in the database then click open as a page
3. In the pop up window (or open as a full page), populate some text, then input the up or left key at the beginning of the first line
4. Cursor went to nowhere and cannot be brought back to the text through down/right key, tab, or other possible keystrokes I could think of.

### Expected Behavior

The cursor should stick to the beginning of the text when trying to move it up or left out of the bounds.
Or maybe in the case of the note page, the cursor in the above described scenario should move up to the comment, property, and title sections. The cursor should also be able to be brought back to the main content with down arrow keystrokes afterward.

### Operating System

Fedora Linux 44

### AppFlowy Version(s)

0.12.5

### Screenshots

_No response_

### Additional Context

_No response_

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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