diff --git a/lib/ui/src/components/sidebar/Search.tsx b/lib/ui/src/components/sidebar/Search.tsx index 59afc32b2ced..83d1b46a2e4a 100644 --- a/lib/ui/src/components/sidebar/Search.tsx +++ b/lib/ui/src/components/sidebar/Search.tsx @@ -183,6 +183,7 @@ export const Search = React.memo<{ matchesKeyCode('Slash', event) ) { inputRef.current.focus(); + inputRef.current.select(); event.preventDefault(); } };