vaadin / vaadin/framework

Grid: Moving vertically between components within the grid by using tabulator key (Vaadin 8).

Open
#10,287 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Stale
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Issue with Vaadin '8.1.6'

Moving vertically between components within the grid by using tabulator key has funny features.
Here is how I found "features"

I selected (focused on) one component within the grid and started moving to next and next component until focus finally end up to the last visible component.

The next tabulator key press moves focus to the next row. This works as I would expect.
But at same time grid header will move out of view. This is not what I would expect.

Well ok. Let's continue moving.
Next tabulator key press will cause focus to move to component outside the grid. This is not what I would expect.

How it should work instead

I think grid should draw the next row into the view and move focus to the component on that row.

Example

You can test these "features" with vaadin demo: Component renderer and Multi select

Related issue

I think this issue relates to issues 8847

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the behavior in the Vaadin Sampler Component renderer and Multi select grid examples, then read related issue 8847 for context. Trace the grid's focus and row-rendering behavior; done means tabbing keeps the header visible, advances to the next rendered row, and does not leave the grid unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.