Focus while upload.

This commit is contained in:
retoor 2025-05-08 01:09:59 +02:00
parent f6706c165e
commit 8799662159

View File

@ -273,7 +273,11 @@
} }
if (event.shiftKey && event.key === 'G') { if (event.shiftKey && event.key === 'G') {
if(document.activeElement != getInputField()){ if(document.activeElement != getInputField()){
updateLayout(true); updateLayout(true);
setTimeout(() => {
getInputField().focus();
}
} }
} }