You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I have a header search bar, and I want to focus it when you press the tab bar (like how Spotify and many other apps do it)
If it was a normal component with a ref I would basically do this:
But you can't get a ref on the search bar, so that doesn't work.
Are there any other options? How do other people do it?
Beta Was this translation helpful? Give feedback.
All reactions