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-router fails to instantiate on Internet Explorer 9 #1710

Closed
Dev63 opened this issue Jan 26, 2015 · 9 comments
Closed

ui-router fails to instantiate on Internet Explorer 9 #1710

Dev63 opened this issue Jan 26, 2015 · 9 comments

Comments

@Dev63
Copy link

Dev63 commented Jan 26, 2015

Does ui-router still work with Internet Explorer 9? My app works fine in Chrome and IE11, but on a Vista system running IE9 it always fails to instantiate ui-router. Any ideas?

@michaelcox
Copy link

I have an app successfully running Angular UI Router on IE9 (specifically we test WinXP/IE9). So it's probably not UI-Router specific. Maybe the issues you're having are more generic to known IE issues with Angular? (e.g. https://code.angularjs.org/1.2.28/docs/guide/ie)

@nicksloan
Copy link

@michaelcox @Dev63 Can you guys share what versions of AngularJS and UI-Router you are using?

@michaelcox Would it be possible to verify your code against the latest stable of each?

I'm encountering a strange issue where the state change is not starting in IE9. It seems like everything works right up until the state change begins, and then fails silently.

@Dev63
Copy link
Author

Dev63 commented Mar 6, 2015

@nicksloan : I am currently using AngularJS v1.3.10, although this issue likely occurred with earlier versions as well. And ui-router v0.2.13.

It's possible that my problems relate to the generic IE/Angular issues pointed out by @michaelcox , but I haven't explored those yet.

@nicksloan
Copy link

My issues was #576. You might want to give it a look.

@michaelcox
Copy link

I'm using Angular 1.3.2 and UI-Router 0.2.13. It could be, however, that I never ran into your issue because my entire app requires authentication. So I have an $stateChangeStart interrupt that may be masking an underlying issue with a blank url field in the $stateProvider.

@nicksloan
Copy link

@michaelcox Don't think so. The behavior in #576 results in $stateChangeStart never firing because ui-router can't find a matching route.

I can also say that ui-router is definitely instantiating in IE9. I suspect @Dev63 may have misdiagnosed their issue.

@jonricaurte
Copy link

Also, here is something relating to IE9:

angular/angular.js#11439

another thing is to make sure to have this:

.run(['$state', '$stateParams', angular.noop]) to make sure when you refresh it instantiates.

@hasanfar
Copy link

Wierd.. I had similar issue when I used
https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.13/angular-ui-router.js (same with /0.2.15) but problem solved when using http://angular-ui.github.io/ui-router/release/angular-ui-router.min.js
Angular version : angularjs/1.3.2 (same result with 1.4.1)
Don't no why..

@eddiemonge
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants