react-native-picker / picker

Picker is a cross-platform UI component for selecting an item from a list of options.
MIT License
1.5k stars 279 forks source link

`focus` method on iOS #480

Closed cubuspl42 closed 1 year ago

cubuspl42 commented 1 year ago

The focus method, per the docs, works only on Android. Why is that?

Is there something tricky in this context on iOS? I'd be grateful for any hints, I'd like to submit a PR.

DevOFVictory commented 1 year ago

same issue here

xmanemran commented 1 year ago

I believable there is no support for focus in iOS. As the doc says

If you want to open/close picker programmatically on android (available from version 1.16.0+), pass ref to Picker:

https://github.com/react-native-picker/picker#usage

karimkhamwani commented 1 year ago

same here

cubuspl42 commented 1 year ago

I'm closing this issue, as I'm no longer interested in such a method. What is more, with my current experience, I don't think that it was a good idea in the first place to name a method that opens a picker focus.