Bugs fixed

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2021-12-13 21:05:37 +05:30
parent 46dd50a744
commit 6d358d4087
3 changed files with 7 additions and 4 deletions

View file

@ -13,7 +13,7 @@ function listenKeyboard(event) {
}
if (!event.ctrlKey && !event.altKey) {
if (navigation.isRawModalVisible) return;
if (['input', 'textarea'].includes(document.activeElement.type)) {
if (['text', 'textarea'].includes(document.activeElement.type)) {
return;
}
if (event.keyCode < 48