-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Closing the tab changes the ui-router state to default state - 0.12.0 #3073
Comments
I was able to fix this behavior with |
@wesleycho So should this be closed as a resolved via support? |
I would like more info first before closing. |
Great. The solution works. Thanks a lot. But i feel this is bit of hack rather than a fix. Anyway thanks. |
This is a bug with Angular 1.3.5 . |
Yes, it is working after angular upgrade. You are a star. |
I am working with AngularJS 1.4.2 and UI-BootStrap 0.13.3 and issue is coming again. With the above solution of $event.preventDefault(), issue goes away. But is it a recommended solution? |
I'm on my phone here so I can't easily check for sure. But if this is the issue I think it is and with the version you are using, yes, it is the recommended solution. The issue appears to be the use of anchor tags and how browsers are interpreting clicks on them. We've changed the template in |
Thanks @icfantv |
My application is broken after i upgrade to 0.12.0 from 0.11.0. The issue is, If i close the tab, the state(ui-router) changes to the default state. It is hard to explain the problem, so i created the simple plunker @
http://plnkr.co/edit/Yigj4VR10zTAMG9DQo6C?p=preview
If you close any of the tab in the settings page then you are taken to the home page. I expect to stay on the settings page with the first tab being selected after closing the tab.
If you comment the 0.12.0 version in the plunker and un comment 0.11.0 version, then the application works as expected.
I think the issue is to do with the fix for the following bug -
#2763 (or)
/issues/2290.
There is no error message printed on the console so it is hard to identify the issue.
The text was updated successfully, but these errors were encountered: