about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorrshigg <90143161+rshigg@users.noreply.github.com>2024-11-25 18:34:06 -0330
committerGitHub <noreply@github.com>2024-11-25 22:04:06 +0000
commit56a88098d2ef8e271c7d63cb7d73cc220a787658 (patch)
tree7925d26aa77045da02b11282629808c2945a6106 /src
parent61e97d69626b90266a3e43f58d30e5e1333f2bd9 (diff)
downloadvoidsky-56a88098d2ef8e271c7d63cb7d73cc220a787658.tar.zst
focus search input on soft reset in mobile (#5732)
Diffstat (limited to 'src')
-rw-r--r--src/view/screens/Search/Search.tsx1
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])