After updating my react-native expo app to SDK 42 I am noticing that the alert used inside of react-native-modal-selector is being hidden immediately, before the user has time to act. This only occurs in iOS - not on Android. I am using version 2.0.7 of react-native-modal-selector.
Specifically, I need the alert to remain open until the user has pushed one of the two buttons to make a selection. Right now if I navigate to a different tab I see that the alert is still open and visible, but within the tab where I first open the alert it disappears before the user has a chance to make a selection.
After updating my react-native expo app to SDK 42 I am noticing that the
alert
used inside ofreact-native-modal-selector
is being hidden immediately, before the user has time to act. This only occurs in iOS - not on Android. I am using version 2.0.7 ofreact-native-modal-selector
.Specifically, I need the alert to remain open until the user has pushed one of the two buttons to make a selection. Right now if I navigate to a different tab I see that the alert is still open and visible, but within the tab where I first open the alert it disappears before the user has a chance to make a selection.
NOTE: If I wrap the
alert
in asetTimeout
the alert remains open/visible:If this bug is unresolvable, is there an event I can wait for before loading the
alert
?