text icon indicating copy to clipboard operation
text copied to clipboard

pressing UP on newline goes to line 1, not up one line

Open gerbrent opened this issue 6 months ago • 0 comments

Describe the bug When the cursor is on an empty line (i.e. newline), then the user pushes up arrow on the keyboard, the cursor jumps up to line 1 instead of the line immediately above.

To Reproduce Steps to reproduce the behavior:

  1. create new text document
  2. create several newlines
  3. Click on an empty line in your document - i.e. line 3, cursor must appear at character 1 position
  4. press up to go to the line above

Expected behavior cursor should move 1 line up

ACTUAL BEHAVIOR

cursor moves to line 1, regardless of which line it started on.

Screenshots Screencast_20240809_130421.webm

Server details:

  • Nextcloud version: 30.0.0 beta 5
  • PHP Version:
  • Database:

Client details:

  • OS: linux / NixOS
  • Browser: Firefox
  • Browser version: 128.0.3
  • Device: desktop
Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

gerbrent avatar Aug 09 '24 19:08 gerbrent