You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2020. It is now read-only.
I need to use /:slug and static pages, like /login (static), /someSlug (dynamic), but at the first time I type /login, the router resolves right to login page, but if I'm at another page and then I click a link to /login link, the router resolves /login as a slug.
@raphaelluchini can you provide step by step instructions to trigger both scenarios? I downloaded your git repo, but I'm not understanding which behaviors are correct and which are incorrect.
Hello @christopherthielen, sorry for long delay, I was launching a big new project (using ui router and future states) :)
Actually this post was not a bug(I've fixed and updated the example), but after some time using the ui-router and router-extras I got wired behaviours using ui-sref.
You can test cloning the repo, npm install, gulp serve.
At the first time I load the route, the link href attribute is null, and just after I click and load the state, the href attribute is updated.
Do you know to to fix that?
2)This one I think is ui-router issue, If I have an #anchor, and I hit the ui-sref, the router diapatch the otherwise and I get digest iterations limit error.
Thanks!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello @christopherthielen, I think I've found another bug :/
I need to use /:slug and static pages, like /login (static), /someSlug (dynamic), but at the first time I type /login, the router resolves right to login page, but if I'm at another page and then I click a link to /login link, the router resolves /login as a slug.
https://github.com/raphaelluchini/ui-router-extras-otherwise-bug
The text was updated successfully, but these errors were encountered: