diff options
author | rshigg <90143161+rshigg@users.noreply.github.com> | 2024-11-25 18:34:06 -0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-25 22:04:06 +0000 |
commit | 56a88098d2ef8e271c7d63cb7d73cc220a787658 (patch) | |
tree | 7925d26aa77045da02b11282629808c2945a6106 /src | |
parent | 61e97d69626b90266a3e43f58d30e5e1333f2bd9 (diff) | |
download | voidsky-56a88098d2ef8e271c7d63cb7d73cc220a787658.tar.zst |
focus search input on soft reset in mobile (#5732)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/screens/Search/Search.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/screens/Search/Search.tsx b/src/view/screens/Search/Search.tsx index 4978b4d4a..b0e9ba672 100644 --- a/src/view/screens/Search/Search.tsx +++ b/src/view/screens/Search/Search.tsx @@ -805,6 +805,7 @@ export function SearchScreen( } else { setSearchText('') navigation.setParams({q: ''}) + textInput.current?.focus() } }, [navigation]) |