Hello guys,
Bad behavior here with a tabset and use of ShortcutListener
Lets say we have two tabs in the tabset, each tab has a Textfield with a ShortcutListener, waiting for the key
TextField tf = new TextField();
tf.addShortcutListener(new ShortcutListener("Enter", ShortcutAction.KeyCode.ENTER, null) {
@Override
public void handleAction(Object sender, Object target)
{
logger.info("Waouw ! An enter code !");
}
});
Only the first one will work and get the shortcut event. Other one does not react.
Same behavior in Vaadin 7 (latest) and Vaadin 8 (latest)
Can you please advise how to get out this “Highlander Rule” ?
Regards
Sebastien