r/ScriptingApp • u/Haunting-Ad-655 • Apr 28 '25
Help How to auto-focus a search bar using searchable?
Do we need autofocus prop or is there a method?
return <NavigationStack>
<List
navigationTitle={"Searchable List"}
navigationBarTitleDisplayMode={"inline"}
searchable={{
value: searchText,
onChanged: setSearchText,
}}
>
1
Upvotes
View all comments
Show parent comment
1
u/WhatShouldWorldGos May 08 '25
I‘m guessing macOS doesn’t handle window resize events properly because it‘s not a real macOS app.