How can I know when a user has clicked on the search bar? on press seems to only be for when they hit search or done, but i need to take an action when they just click on the search bar.
Add onFocus inside textInputProps
textInputProps={{
onFocus: () => yourCallback(),
}}
Do you know how to retrieve an event arg in onFocus function? Thank you
Were you able to find how? @MaxInMoon
textInputProps={{
onFocus: () => yourCallback(),
}}
Most Useful thank you
Still can't seem to retrieve the event arg in the onFocus function, anyone have any idea?
Most helpful comment
Add
onFocusinsidetextInputProps