diff --git a/src/components/SearchBar.tsx b/src/components/SearchBar.tsx index 96462e7..1d4015f 100644 --- a/src/components/SearchBar.tsx +++ b/src/components/SearchBar.tsx @@ -16,7 +16,10 @@ export function SearchBar({ onSearch, onFocus, searchKey }: Props) { { + onFocus(e) + e.target.select() + }} tabIndex={0} className={cx('search-input', { error: !isValidRegexpSource(searchKey),