[Bug] Wrong cursor up/down movement behaviour
Jei-sKappa opened this issue · 2 comments
Bug Description
When you use the up/down arrow keys in a long line (which is split into multiple lines because of the screen width), the cursor moves up/down in the previous/next row instead of going up/down in the previous/next part of the current row.
How to Reproduce
Open "AppFlowy 0.5.2" or the example app and create a line long enough to be split into several rows.
Press up/down keys.
Expected Behavior
The cursors moves to the previous/next part of the multiline instead of go directly into previous/next line
Operating System
MacOS 14.3.1 (Apple Silicon)
AppFlowy Editor Version(s)
2.3.3 (latest)
Screenshots
Registrazione.schermo.2024-03-17.alle.18.44.02.mov
Additional Context
In previous versions of AppFlowy this didn’t happen. Unfortunately I can’t say which one exactly
I noticed that using the tagged release "2.2.0" it works as expected. When using the next tagged release ("2.3.0") it stops working.
If it's helpful i also tested using the AppFlowy app and with "0.4.1" it works but with "0.4.2" and later it stops working.
This is the commit from which problems start 87eabfb8f58c4974873eef09b1f7749458d07778.