Framework: Pressing space bar in Grid header rows selects the xth grid row

Created on 22 Feb 2018  路  3Comments  路  Source: vaadin/framework

We are using e.g. text filters in additional header rows of the Grid. In case the space bar is pressed while entering text in one of the TextFields in the e.g. second header row the second row in the grid is selected.

Expected:
While entering text and also pressing space bar in a header row only that elements gets the input

Actual:
The second grid row gets selected when text containing spaces is entered in a TextField in the second header row

vaadin_spacebar_selects_2nd_grid_row

Affected Vaadin version: 8.3.1
8.3.1 is affected
8.2.1 is not affected

sample demonstrating the problem:
gridheaderrows.zip

bug

Most helpful comment

Any eta on this fix as it didn't make it into the 8.3.2 maintenance release?

All 3 comments

I think there's a general issue with the space bar and the Grid in versions >= 8.3.0. I see similar behaviour but in the grid editor instead, it does not accept a space bar input. Exactly the same code but using Vaadin version 8.2 works fine, I can type in space in the data in the editor.

I think this is regression from same patch as this one: https://github.com/vaadin/framework/issues/10597

Any eta on this fix as it didn't make it into the 8.3.2 maintenance release?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ahmadazimi picture ahmadazimi  路  3Comments

lanmaster picture lanmaster  路  3Comments

edler-san picture edler-san  路  5Comments

jbreitung picture jbreitung  路  6Comments

Artur- picture Artur-  路  6Comments