fix room input focus on mod+a (select all)

This commit is contained in:
Ajay Bura 2026-08-16 12:39:57 +05:30
commit 50b6180796

View file

@ -54,7 +54,11 @@ export const useEditorAutoFocus = (
return;
}
if (!shouldFocusMessageField(evt) && !isKeyHotkey('mod+v', evt)) {
if (
!shouldFocusMessageField(evt) &&
!isKeyHotkey('mod+v', evt) &&
!isKeyHotkey('mod+a', evt)
) {
return;
}