AppFlowy-IO / AppFlowy-IO/AppFlowy

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

Aperta
#8,848 0 commenti 0 reazioni 1 assegnatario Rivendicata da @appflowy Vedi su GitHub
bug platform-linux
Lingua principale
Dart
Stelle
76.6k
Fork
6k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.