Skip to content

Commit c0369e9

Browse files
author
k.golikov
committed
Fix search shortcut
1 parent c2e4c32 commit c0369e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layouts/appLayout/components/appHeader/components/appHeaderSearch/AppHeaderSearch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const AppHeaderSearch: FunctionComponent<Props> = ({ className, inputClassName,
9696

9797
useKey(['Slash'], (event) => {
9898
const activeTag = document.activeElement?.tagName;
99-
if (activeTag && ['input', 'textarea'].includes(activeTag)) {
99+
if (activeTag && ['input', 'textarea'].includes(activeTag.toLowerCase())) {
100100
return;
101101
}
102102

0 commit comments

Comments
 (0)