fixes #cinnyapp/cinny/668
if (!event.ctrlKey && !event.altKey && !event.metaKey) {
if (navigation.isRawModalVisible) return;
- if (['input', 'textarea'].includes(document.activeElement.tagName.toLowerCase())) {
- return;
- }
if (event.code === 'Escape') {
if (navigation.isRoomSettings) {
}
}
+ if (['input', 'textarea'].includes(document.activeElement.tagName.toLowerCase())) {
+ return;
+ }
+
// focus the text field on most keypresses
if (shouldFocusMessageField(event.code)) {
// press any key to focus and type in message field