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

[iOS] Add the ability to set/unset the focus via JS call

Open daniloercoli opened this issue 7 years ago • 1 comments

We've added the ability to set/unset the focus via JS calls (ReactNative App -> AztecWrapper) in Android here.

We should add the same feature to iOS, otherwise, if it will ever be used in a RN app without checking the platform will trigger an error.

daniloercoli avatar Nov 23 '18 13:11 daniloercoli

I'm not sure we need to do that, it seems TextInputState is calling UIManager.focus for that on iOS, and I don't think we're calling those methods directly ourselves?

koke avatar Nov 23 '18 15:11 koke