For example, say that ESC can be used to close an open drawer. And then ESC is also used to close an open modal.
If I have an open drawer beneath an open modal, my desired behavior would be:
- pressing ESC once closes the modal
- pressing ESC again then closes the open drawer
Is this type of behavior supported, allowing duplicate keybinds to be registered sequentially and contextually?