Hello, I cannot detect if the dialog opens and closes on Android as it is for the IOS side. For this, we can use the onFocus and onBlur props of the @react-native-picker/picker package to make the onOpen and onClose props of the package available for Android.
Hello, I cannot detect if the dialog opens and closes on Android as it is for the IOS side. For this, we can use the onFocus and onBlur props of the
@react-native-picker/picker
package to make the onOpen and onClose props of the package available for Android.As an example, it can be done as follows.
If you want, I can fork and open a PR for the changes I made.