AngularJS + jQuery + IE7 = timebomb?

431 views
Skip to first unread message

Ricardo Bin

unread,
Oct 1, 2012, 10:35:40 PM10/1/12
to ang...@googlegroups.com
Hi, people =)

Its common to see at github "bug threads" or even here in google groups users relating IE7 problems with AngularJS.

Yes, it is a deprecated browser and AngularJS dont need to waste time to provide fallbacks to it. I agree.

But the point is: sometimes the simple presence of jQuery lib with AngularJS on your page crashes the whole browser. @jonbcard related this on this issue here https://github.com/angular/angular.js/issues/1346 and here https://groups.google.com/forum/?fromgroups=#!topic/angular/p7QgrJV6edk

This is worst than a simple IE bug. To most bugs, theres some workarounds. If there isnt, ok, IE7 wont works (and a "upgrade your browser message"  works fine). 

But this mix close all tabs of the browser, without any error message to the user (some versions throws an Windows's app exception).

This happens with me at my actual project. After hours of debugging i got the cause, and it was jQuery (changing it versions doesnt works).

Fortunately, i could remove jQuery lib from my project and all works fine now, but what if i depends of it? =/ 

I think this should be exposed at IE Developer Guide or something like this.

Any of you already have this IE7 + jQuery + AngularJS crash bug? What do you think?

   

Mihai

unread,
Oct 2, 2012, 2:43:15 AM10/2/12
to ang...@googlegroups.com
you may try IE6 and will find that it crashes on  most websites today so the reason why IE7 crashes is that it needs to be upgraded. Shortly IE7 is like a deep-sea fish, it just can't take it when you pull it out :)

Ricardo Bin

unread,
Oct 2, 2012, 9:23:53 AM10/2/12
to ang...@googlegroups.com
I agree totally! And i cant wait for this moment =P

But im talking about real apps in production, and some of them has a considerable market share of IE7 users (we have more than 1.500.000 of IE7 users monthly yet).

My angularJS project will be used by thousands of people in this sunday, and i can't crash browsers around lol.

Cause this, i think it could be an "official" advice: if you pretend to use a lot of jQuery and support IE7, use AngularJS is your own risk.

Dan Denno

unread,
Oct 2, 2012, 9:46:59 AM10/2/12
to ang...@googlegroups.com
I agree with Ricardo!

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en.
 
 

jon....@gmail.com

unread,
Oct 3, 2012, 10:44:47 AM10/3/12
to ang...@googlegroups.com, ca...@landholt.com
Ricardo, I feel your pain on this. With respect to the specific crashing issue: I was planning on trying to submit a patch for this myself, but since then my project has pulled IE7 support (praise the heavens) and so this has become pretty low priority for me. It seems like there may be enough of a community of people left of trying to run Angular apps that work on IE7 to at least get some of the most critical fixes for it in, though.
Reply all
Reply to author
Forward
0 new messages