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.
ShortcutActions on panel without click
Hi,
I've added some ShortcutActions to a panel to manage the flow of a list of tree node with left/right arrows.
After a preliminary search on the tree nodes (that creates a List searchList) , the tree is expanded until the first node in the searchList and then I would like to use the ShortcutActions to navigate into the tree, but they don't work until I click somewhere in the panel.
After the mouse click, the behaviour is exactly the one expected.
Is there a way to make the ShortcutAction work without the mouse click?
Thanks!
Hi,
I guess you could also add the shortcuts to UI level so the Panel doesn't need to be focused?
-Olli
Olli Tietäväinen: Hi,
I guess you could also add the shortcuts to UI level so the Panel doesn't need to be focused?
-Olli
Great! It works!
Thank you very much!
Serena