Use keydown events for hotkey service
We might wanna use keydown
events instead of keyup
. Since material components also use keydown
, this can lead to issues e.g. in presentation mode. While closing dialog, it may happen that you accidentally exit the presentation.
Edited by Lukas Weingarten