Expo - Unable to set default text for header search bar using ref #2392
Labels
Platform: iOS
This issue is specific to iOS
Repro provided
A reproduction with a snack or repo is provided
Description
When trying to imperatively set the text of the search bar input using a ref, it doesn't work as ref is always null on render.
Steps to reproduce
Snack or a link to a repository
https://github.com/Rezrazi/react-native-search-bar-minimal
Screens version
3.34.0
React Native version
0.75.4
Platforms
iOS
JavaScript runtime
None
Workflow
Expo managed workflow
Architecture
None
Build type
Debug mode
Device
iOS simulator
Device model
iPhone 16 Pro
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: