vaadin / framework

Vaadin 6, 7, 8 is a Java framework for modern Java web applications.
http://vaadin.com/
Other
1.77k stars 729 forks source link

Grid steals input focus from text field during repaint #12526

Closed thevaadinman closed 2 years ago

thevaadinman commented 2 years ago

In Framework 8.14.3 (and very likely every previous version) attempting to add a real-time filtering function to Grid causes the text field to lose input focus when the Grid repaints as the data provider's contents are updated.

Expected behavior is to be able to keep typing without Grid stealing focus. Can be replicated on both Chrome and Firefox.

Minimal project for reproducing the issue attached, provided by a customer.

grid-focus-steal.zip

thevaadinman commented 2 years ago

I am currently assigned to fixing this issue.

TatuLund commented 2 years ago

Fixed in 8.15.1