Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard navigation in tables is broken #5156

Closed
arnowelzel opened this issue Dec 22, 2023 · 1 comment
Closed

Keyboard navigation in tables is broken #5156

arnowelzel opened this issue Dec 22, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@arnowelzel
Copy link

arnowelzel commented Dec 22, 2023

Describe the bug
When editing a table, you can navigate using the arrow keys on the keyboard. However when you move from one cell to the next, the cursor will end up being placed at the top corner of the cell instead of inside the cell. If you then try to type something, a new column will be created, before the text will be added to the cell. It can also happen, the the whole content will shift to the right as soon as you enter to the cell using arrow keys.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new text document.
  2. Insert a table to the document and add some content to it
  3. Klick inside a cell on the left
  4. Use the arrow right key to navigate to the next cell right to it
  5. See the cursor blinking as horizontal line on top of the cell instead of inside of it
  6. Start typing, which creates a new cell instead of adding the text to the existing cell

Expected behavior
When moving with the arrow keys, the cursor will move the same way as using the [Tab] or [Shift]+[Tab].

Screenshots
This is, how it looks like when you move to the next cell with arrow right:

image

And this happens when you then start typing - a new column will be created

image

In fact - the content will shift to the right, as soon as you enter the cell using the arrow keys and will shift back, when you leave the cell without typing any text:

image

Server details:

  • Nextcloud version: 28.0.0, 28.0.1
  • PHP Version: 8.1
  • Database: MariaDB 10.11

Client details:

  • OS: Windows
  • Browser: Chrome, Edge, Firefox
  • Browser version: the latest versions as of December 2023
  • Device: Desktop
@arnowelzel arnowelzel added the bug Something isn't working label Dec 22, 2023
@mejo-
Copy link
Member

mejo- commented Dec 22, 2023

Thanks for your report @arnowelzel! This already got fixed with #5148 (and got backported to stable28). Will be shipped with the upcoming 28.0.2 release.

@mejo- mejo- closed this as completed Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants