Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Table scrolling problem after view changing [Vaadin Touchkit]
I've found trouble with scrolling at Android devices ( with different hardware versions: 4.0.4, 4.2.2, 5.1 ).
First view has NativeButton with some custom ClickListener and TextField with ShortcutListener.
TextField and NativeButton are used for searching, i.e. you can write something into textfield and press button or use "enter" shortcut. ( see attachment )
Both listeners have the same code inside action handlers:
Button.ClickListener newSearchListener = createNewSearchListener();
newSearchListener.buttonClick(null);
After view changing I have second view with table with big count of elements inside it.
So if you use TextField shortcut everything will be ok.
But if you write something into the textfield, hide a keyboard on device and press button, view will be changed and you couldn't use scrolling.
I have a suspicion that the problem is calling buttonClick inside buttonClick :)
P.S. Sorry for bad english :)
upd: We use vaadin touchkit cval 2.1.5