-
Notifications
You must be signed in to change notification settings - Fork 27.2k
RangeError: Maximum call stack size exceeded in @angular/animations module #38551
Copy link
Copy link
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: animationslegacy animations package only. Otherwise use area: core.legacy animations package only. Otherwise use area: core.needs reproductionThis issue needs a reproduction in order for the team to investigate furtherThis issue needs a reproduction in order for the team to investigate furtheropen for contributionsAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).
Milestone
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: animationslegacy animations package only. Otherwise use area: core.legacy animations package only. Otherwise use area: core.needs reproductionThis issue needs a reproduction in order for the team to investigate furtherThis issue needs a reproduction in order for the team to investigate furtheropen for contributionsAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).
🐞 bug report
Affected Package
The issue is caused by package @angular/animationsIs this a regression?
Not sureDescription
We sometimes see
RangeError: Maximum call stack size exceedederror in our production environment. Some of them come from Safari, some from Chrome. I'm attaching a few last frames of the stacktrace (see the section below). I think this is the reason for the issue: https://anchortagdev.com/range-error-maximum-call-stack-size-exceeded-error-using-spread-operator-in-node-js-javascript. Looks like it happens when page contains a lot of DOM elements and code tries to push them all into an array using a spread operator.🔬 Minimal Reproduction
Sorry, I don't know how to reproduce it.
🔥 Exception or Error
🌍 Your Environment
Angular Version: