react-native-paper
react-native-paper copied to clipboard
Searchbar no autofocus?
How come this component doesn't have an autoFocus prop? I've tried setting it, but does not work.
Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link or link to a GitHub repo under your username).
Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup.
Couldn't find version numbers for the following packages in the issue:
react-nativereact-native-paperreact-native-vector-icons
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.
It should work by passing autoFocus prop into SearchBar component, like presented on the snack
Tried that, but does not work for me. Maybe because I'm using react navigation as well.
You can try to reproduce your issue on the fresh react-native project, with the tech stack used in your project.
Closing due to no activity. If the issue still exists, please reopen and attach the appropriate repro.
Hey! Thanks for opening the issue. Can you provide a minimal repro which demonstrates the issue? Posting a snippet of your code in the issue is useful, but it's not usually straightforward to run. A repro will help us debug the issue faster. Please try to keep the repro as small as possible. The easiest way to provide a repro is on snack.expo.dev. If it's not possible to repro it on snack.expo.dev, then you can also provide the repro in a GitHub repository.