-
Notifications
You must be signed in to change notification settings - Fork 3k
$urlRouterProvider's when function has redirection problems #2496
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
Comments
Hi, I'm facing the same problem with Chrome. Plunkr here: https://plnkr.co/edit/FrDapa80tndHvyGW6ckt (minimalistic example) I've set When I use version 0.2.16 and 0.2.17 of ui-router it's not redirecting to /main2/sub1/subsub1" in Chrome, but in Firefox and Internet Explorer it does. The automatically redirection to "/main3/sub1/subsub1" works in all three browsers. With ui-router 0.2.15 everything works as expected. |
@christopherthielen, @Spessi, @nmrm: I submitted a PR that likely will fix your issue with Chrome.. #2502 Basically it just ensures a stable sort on Chrome for the sorting that got added in #1585. I'm also open for reverting the PR that added the sort - but we may be able to keep that sort and not have Chrome issues with my PR. |
This reverts commit b5c57c8. Closes angular-ui#2501 Closes angular-ui#2496
$urlRouterProvider has a problem if the incoming path that I want to redirect is empty and there is a state with an url that is also empty.
If I declare something like:
and then I declare a named state with an empty "url"...
When calling the webapp in it's root format, http://host:port/webapp
The 1) glitch started happening since lib version 0.2.16 and only in Chrome browsers.
The text was updated successfully, but these errors were encountered: