-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck in IOS #72
Comments
I'm having this exact same issue. For some reason, it only fails on an iPad, not on an iPhone. |
same issue here. (works on Android, but not work on IOS) |
I'm working on a patch for this issue: facebook/react-native#22666, you are welcome to try it out |
Hello! Same issue here, even without using an Something interesting to note is that it doesn't happen in This is super weird. Keeping an eye out for a fix. |
Is there any workaround? Currently this issue will make the app frozen, users can only exit the app then open it again. |
@just4fun you could add a delay to alert as workaround. global.alert = (message, title) => {
setTimeout(() => Alert.alert(title || "Oops!", message), 500);
}; |
@zhuang17 - Thanks, it seems like Alert and Modal are running in same event loop then cause the issue? I remembered Modal will not be supported soon in React Native, so for long term, I think the best solution is to replace Modal with something like the modal in react navigation. |
do we have any fix for this right now |
What if I'm not using an Alert, and only have a spinner in the topmost component? Any idea why I get that sticky spinner sometimes?
… On 12 Jan 2019, at 15:10, Tailor at Hand ***@***.***> wrote:
do we have any fix for this right now
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
My solution for this issue is to replace |
Make spinner hidden after pressing Alert.alert("!!!", "Error", [
{ text: "OK", onPress: () => this.setState({ spinner: false }) }
]); |
PR accepted. Please provide a reproducible test case. |
When alert and spinner overlay working together,
alter will dismiss but spinner overlay stuck and nothing happened.
The text was updated successfully, but these errors were encountered: