diff options
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/src/renderer/components/SearchBar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/renderer/components/SearchBar.tsx b/gui/src/renderer/components/SearchBar.tsx index c70e5c3de1..da2de73af0 100644 --- a/gui/src/renderer/components/SearchBar.tsx +++ b/gui/src/renderer/components/SearchBar.tsx @@ -89,7 +89,7 @@ export default function SearchBar(props: ISearchBarProps) { useEffect(() => { if (!props.disableAutoFocus) { - inputRef.current?.focus(); + inputRef.current?.focus({ preventScroll: true }); } }, []); |
