react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

Searchbar no autofocus?

Open CoinCoderBuffalo opened this issue 3 years ago • 5 comments

How come this component doesn't have an autoFocus prop? I've tried setting it, but does not work.

CoinCoderBuffalo avatar Dec 04 '21 14:12 CoinCoderBuffalo

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.

github-actions[bot] avatar Dec 04 '21 14:12 github-actions[bot]

Couldn't find version numbers for the following packages in the issue:

  • react-native
  • react-native-paper
  • react-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.

github-actions[bot] avatar Dec 04 '21 14:12 github-actions[bot]

It should work by passing autoFocus prop into SearchBar component, like presented on the snack

lukewalczak avatar Dec 05 '21 12:12 lukewalczak

Tried that, but does not work for me. Maybe because I'm using react navigation as well.

CoinCoderBuffalo avatar Dec 07 '21 21:12 CoinCoderBuffalo

You can try to reproduce your issue on the fresh react-native project, with the tech stack used in your project.

lukewalczak avatar Dec 08 '21 13:12 lukewalczak

Closing due to no activity. If the issue still exists, please reopen and attach the appropriate repro.

lukewalczak avatar Oct 10 '22 14:10 lukewalczak

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.

github-actions[bot] avatar Oct 10 '22 14:10 github-actions[bot]