-
Notifications
You must be signed in to change notification settings - Fork 27.5k
Maximum stack exceeded / Too much recursion on Firefox #7648
Comments
Could you try with previous beta versions and see at which one it works again? There are breaking changes in the beta, and this might have been caused by one. |
tried all the betas, nothing changed. curious enough, it got solved when I changed jQuery 2.1.1 to 1.11.1... I'll need to post this issue there. Angular shouldn't break because of an external library. |
@caitp I see, would be good to have this in big letters somewhere :) since angular 1.3 dropped support for oldIE I thought it would go hand-in-hand with jQuery 2.x branch. I was using it happily without ever noticing problems until I changed to ui-router |
It is actually mentioned in the documentation, but only in the tutorial apparently
|
all I could find was (https://docs.angularjs.org/misc/faq):
EDIT: I see, it's in the "12. Applying animations" which is a really trivial page for stating something this important notice. This should go on the download page instead or another "incompatibilities" dedicated page. |
It's now in the FAQ that jquery 2.x is not supported: 46a53b2 |
@pocesar The next Angular 1.3.0 beta will support jQuery 2.1 (and will not officially support older versions though they should work). The relevant commit: 9e7cb3c The beta should be released in about a week. Before that happens, you can check if the issue still exists by trying the snapshot Angular version: https://code.angularjs.org/snapshot/angular.js Don't use it in production, though, wait for a proper release. If the problem exists, comment on the issue so that we can reopen it. |
@mzgol just tested latest beta and jquery 2.1.1, still getting too much recursion (when using along with ui-router). need to fallback to jquery 1.x |
I'll reopen this for investigation. jQuery 1.x is no longer supported so the advise from an earlier comment doesn't apply. |
@mzgol it seems to be a problem with firequery plugin, it now seems to work properly. if it happens again, I'll reopen |
I solved the problem by using angular-route 1.2.22 with AngularJS 1.4.8 (1.5.5) |
the problem is in angular-route.js |
@darkmanAmazigh Don't mix different versions of Angular & angular-route, that's not supported and may break in unexpected ways. |
Yes i try, but for now there's a solution, and it work fine for me |
Testing the latest beta 10 on Firefox along with ui-router is giving a maximum call stack exceeded / too much recursion. Cross referecing the issue on angular-ui/ui-router#1104
I can't provide the minimum reproducible case because it's a really big project, but the problem began after changing ngRoute for ui-router
The text was updated successfully, but these errors were encountered: