Skip to content
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-sref does not work until your refresh the page. #3803

Open
richie50 opened this issue May 8, 2020 · 3 comments
Open

ui-sref does not work until your refresh the page. #3803

richie50 opened this issue May 8, 2020 · 3 comments
Labels

Comments

@richie50
Copy link

@richie50 richie50 commented May 8, 2020

This issue tracker is for Bug Reports and Feature Requests only.

Please direct requests for help to StackOverflow.
See http://bit.ly/UIR-SOF for details.

This is a (check one box):

  • Bug Report
  • Feature Request
  • General Query

My version of UI-Router is: (type version)
angular version 1.7.9
angular-router 0.4.2

Bug Report

Current Behavior:

(type current behavior here)

Expected Behavior:

(type expected behavior here)

Link to Plunker or stackblitz that reproduces the issue:

( if you want a response to your issue, provide a way to reproduce it )
( http://bit.ly/UIR-Plunk1 )
( https://stackblitz.com/edit/ui-router-angularjs )

Feature Request

(type feature request here)

General Query

Please direct general implementation questions to StackOverflow:
http://stackoverflow.com/questions/ask?tags=angularjs,angular-ui-router

Please review the Sample Application which highlights common approaches:
https://github.com/ui-router/sample-app-angularjs

  • I have already asked my question on StackOverflow and nobody could answer the question

  • I have already reviewed the sample application for examples of common approaches

  • I believe my question can only be answered by the UI-Router maintainers

(type general query here)

In the template

<a ui-sref="some-route"> My route</a>

route config
state('some-route' , {
url:'/route',
cache:false
view: {
'details': "template.html"
}

That is the basic setup. What happens is , i'm trying to authenticate a user and if the user provides an invalid credentials i basically stay on the same page with a notification message from the back end. But when that happens and the page doesn't refresh i can't click on the tag with the ui-sref directive. Its this a known issue. Because it seems i'm wasting my time. The code was inherited
})

@christopherthielen
Copy link
Contributor

@christopherthielen christopherthielen commented May 13, 2020

It's not a known issue. I'd be happy to take a look if you provide a minimal reproduction (as requested in the issue template).

@richie50
Copy link
Author

@richie50 richie50 commented May 13, 2020

@christopherthielen i'm currently swarmed right now but i will try my best to reproduce via stackblitz or plunkr in the next coming days. Cheers

@stale
Copy link

@stale stale bot commented Nov 15, 2020

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.

This does not mean that the issue is invalid. Valid issues
may be reopened.

Thank you for your contributions.

@stale stale bot added the stale label Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.