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
On IE11 after you open application from bookmark, change state and open the same bookmark again than nothing happens. I'd like to attach very simple zip which demonstrates that but zip files are not supported, so here is example code and steps to reproduce:
First, create very simple application: index.html, state1.html, state2.html, app.js (routing configuration). Sources are provided at the end of description.
Create bookmark in IE11:
http://localhost/ang_app/index.html#/1
Start new IE11 session, start application via bookmark created at step 2.
Click on link 'State 2' and observe that application changes it's state as expected.
Click ON BOOKMARK that you created in step 2 again. Observe application behavior: URL hash changed to '1' but application state does not reflect the change and stays in state '2'.
varmyApp=angular.module('myApp',['ui.router']);myApp.config(function($stateProvider,$urlRouterProvider){//// For any unmatched url, redirect to /state1$urlRouterProvider.otherwise("/state1");//// Now set up the states$stateProvider.state('1',{url: "/1",templateUrl: "state1.html"}).state('2',{url: "/2",templateUrl: "state2.html"})});
Additional info:
angular: v1.2.19
ui-router: v0.2.10
Windows 8.1
IE11:
Any help will be appreciated!
The text was updated successfully, but these errors were encountered:
I also ran into this problem, but this is not an issue of ui-router (it is reproducible also with the standard AngularJS-router features). It is more or less how AngularJS currently detects the hashChanges or - other way around - how Internet Explorer behaves when clicking on a bookmark twice.
If you introduce a manual "watcher" / "poller" into your app as plain Javascript, you can see that somehow a change CAN be detected. But the window.onhashchange is not triggered in IE10/IE11 unfortunately.
Therefore it is a complex issue at the end to whoever feels responsible - AngularJS with a dirty poll fix or Microsoft with a fix to the handling. But a Microsoft - Fix won't help to be backwards compatible...
On IE11 after you open application from bookmark, change state and open the same bookmark again than nothing happens. I'd like to attach very simple zip which demonstrates that but zip files are not supported, so here is example code and steps to reproduce:
First, create very simple application: index.html, state1.html, state2.html, app.js (routing configuration). Sources are provided at the end of description.
Create bookmark in IE11:
http://localhost/ang_app/index.html#/1
Start new IE11 session, start application via bookmark created at step 2.

Click on link 'State 2' and observe that application changes it's state as expected.
index.html:
state1.html:
state2.html:
app.js:
Additional info:
angular: v1.2.19
ui-router: v0.2.10
Windows 8.1
IE11:
Any help will be appreciated!
The text was updated successfully, but these errors were encountered: