mirror of
https://github.com/directus/directus.git
synced 2026-01-25 04:57:56 -05:00
Ignore auto-fill enter in shortcut
This commit is contained in:
@@ -14,6 +14,8 @@ document.body.addEventListener('keydown', (event: KeyboardEvent) => {
|
||||
});
|
||||
|
||||
document.body.addEventListener('keyup', (event: KeyboardEvent) => {
|
||||
if (event.repeat || !event.key) return;
|
||||
|
||||
const key = mapKeys(event.key);
|
||||
keysdown.delete(key.toLowerCase());
|
||||
keysdown.delete(key.toUpperCase());
|
||||
|
||||
Reference in New Issue
Block a user