Dialog modal x Shortcut

I’m using a shortcut (F8) on a button, but I’m opening a modal dialog and, for ease of usability, I’m using the same shortcut key, but execute the shortcut on the previous screen … there is a way around this ?

Vaadin 17.0.8

Hi.

The issue [Dialog doesn’t prevent the execution of clickshortcuts behind it]
(https://github.com/vaadin/flow/issues/7799) is under work and you can follow the ticket to see when it is fixed.

At the moment I guess the only choice is to unregister the first shortcut on dialog open until the issue has been fixed.

  • Mikael