Searchable FocusState

Hello,

is there a way to set the focus on the search bar without the user clicking on it?

Just like with the @FocusState for Textfields but for the new .searchable modifier.

Thanks,

Jonas

I know about the Environment variable isSearching but that is get only. I am trying to set it

I would file feedback for this as I can't find a solution, yet.

Searchable FocusState
 
 
Q