-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Bug: Recursive navigation example throws critical exception: #65
Comments
Still exists.
|
We don't have the time to investigate it right now unfortunately. Don't expect any progress in the next couple of weeks. We're 100% focused on upgrading our infra so that we can push all the components/apis that we have before open sourcing. |
i add this code and it solve the issue not sure if i introduce an other bug react-native/React/Views/RCTNavigator.m Lines 487 to 495 in 1dba7e0
BOOL jsGettingtooSlow =
// --- previously not caught up -------- ------- no longer caught up ----------
viewControllerCount < previousReactCount && currentReactCount < previousReactCount;
BOOL reactPushOne = jsGettingAhead && currentReactCount == previousReactCount + 1;
BOOL reactPopN = jsGettingAhead && currentReactCount < previousReactCount;
// We can actually recover from this situation, but it would be nice to know
// when this error happens. This simply means that JS hasn't caught up to a
// back navigation before progressing. It's likely a bug in the JS code that
// catches up/schedules navigations.
if (!(jsGettingAhead ||
jsCatchingUp ||
jsMakingNoProgressButNeedsToCatchUp ||
jsMakingNoProgressAndDoesntNeedTo ||
jsGettingtooSlow)) {
RCTLogError(@"JS has only made partial progress to catch up to UIKit");
} Feel free to talk about it |
@Iragne patch worked for me, but I dont sure what |
yes agree with you i would like to talk to @vjeux for that as soon he has time |
+1 |
@vjeux @tadeuzagallo - any plans to revisit this? seems to be a popular issue to report 😄 |
+1 |
hi every body |
Summary: Related to this issue I created the PR. Feel free to talk about it. facebook#65 (comment) Thanks Closes facebook#1131 Github Author: Iragne <adelskott@gmail.com> Test Plan: Open NavigatorIOS example in UIExplorer, push recurse navigation several times. Press back and observe that it no longer breaks.
+1 |
1 similar comment
+1 |
You can close it the PR is validate |
Stack Trace: https://gist.github.com/moduscreate/7d8e93c8ce18635044c3
Demo: http://www.screencast.com/t/AJKD3erIOSe
The text was updated successfully, but these errors were encountered: