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.
FocusShortcut opens ComboBox, but not closing on focus lost
Hello!
I've tried to create two ComboBox components with FocusShortcut listeners.
Fisrt listen to 'F1' and second listen to 'F4'.
I press 'F1' then first ComboBox take focus and open their container data.
Then i press 'F4' and second ComboBox take focus and open their container data, but first ComboBox is still opened.
At this point we have two opened ComboBoxes, but only last opened takes focus and can select item.
How can i control that with focus loose ComboBox close their items, and with takes focus it open their items?