Skip to content

Spreadsheet with custom editor - editor not displayed when navigating to cell with up/down arrows #7653

@WoozyG

Description

@WoozyG

Description

in 24.8.0+ Spreadsheet changed custom cell editor behavior to display the editor on various keyboard events, like typing text or tabbing into the cell.

However, while this works for most cases, I found that if you use the up/down arrow keys to navigate between cells, highlight one with a custom editor, and then start typing you get the default editor, not the custom editor.

Expected outcome

navigating to a cell with a custom editor via the up or down arrow key should behave the same as navigating with the left or right arrow keys, but it does not.

Minimal reproducible example

see description. Create a Spreadsheet implementation with a custom editor for a cell, such as a basic Select. Set the Spreadsheet to not display editors all the time.
When running, use the arrow keys to navigate in and out of the cell with the editor. When navigating in, start typing text and notice which editor displays, the default one or the custom one.

Steps to reproduce

see description. Create a Spreadsheet implementation with a custom editor for a cell, such as a basic Select. Set the Spreadsheet to not display editors all the time.
When running, use the arrow keys to navigate in and out of the cell with the editor. When navigating in, start typing text and notice which editor displays, the default one or the custom one.

Environment

Vaadin version(s): 24.8.x
OS: N/A

Browsers

Issue is not browser related

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions