Closed xphong closed 6 years ago
Can you try with a more current version of ui-router? 1.0.11
is the latest released version. Also, please provide a plunker or stackblitz which demonstrates the issue.
Here's an example which seems to work: http://plnkr.co/edit/ZGyacN69GTjVlE5bJ001?p=preview
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:
My version of UI-Router is: (version) 1.0
Bug Report
Code:
Current Behavior:
If on a state with state params (ex:
/user?id=123
), and user tries to exit. The transitions fire twice when pressing cancel on confirmation causing the pop up box to show up twice.URL tries to go to
/user-profile
then when pressing cancel, goes back to/user
without the stateParams.Expected Behavior:
Transitions once and confirmation pops up only once. State should also keep current stateParams.