-
Notifications
You must be signed in to change notification settings - Fork 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
ui-view not updated at some point while change url very fast #3772
Comments
@christopherthielen can you have a look at this issue, looking forward to your reply |
This issue has been automatically marked as stale because it has not had This does not mean that the issue is invalid. Valid issues Thank you for your contributions. |
I am getting the same issue while after upgraded the routing from AngularJS UI Router to UI_Router Angular. In our case, the child state view does not load when click the link, though the URL does changed. By the way, it does works fine if I use $state.go() method but not the link. Any suggestions please? |
This issue has been automatically marked as stale because it has not had This does not mean that the issue is invalid. Valid issues Thank you for your contributions. |
This issue tracker is for Bug Reports and Feature Requests only.
angularJS: 1.7
My version of UI-Router is: 1.0.17
Bug Report
Current Behavior:
In my project, there is a sideBar which is implemented by $state.go used for change url, and we use lazyload property to load each module. I found that the view will not be updated to the latest state when I click the siderbar very fast to switch url. Due to analysis the trace log and the code of ui-router, I found it is caused by a wrong transition.
when the error occured, the trace log show that there is a A->c transition after A->B;
so when A-> started, it will try to remove the viewConfig of A , and the viewConfig of B will left in the _viewConfigs;
Because of the extra config of B, the matchingConfigs will contain B and C, and the viewConfig of B will be returned
Expected Behavior:
the transtion's from state will be the last transition's to state.
question:
The text was updated successfully, but these errors were encountered: