bug(md-tooltip): maximum call stack exceeded when tooltip-position is not "below" - RC6
See original GitHub issueAngular @ 2.0.0-rc.6 Material @ 2.0.0-alpha.7-12
When tooltip-position
is set to something else than default (eg. after
) the site completely breaks with Maximum call stack size exceeded
exception.
Since there is no base plunker with these versions I won’t be posting one. The error is easily reproducible though: change https://github.com/angular/material2/blob/master/src/demo-app/tooltip/tooltip-demo.ts#L12 from below
to after
and run the demo app.
Edit: Haven’t really looked at the code in depth, but it seems like this line causes the error. It creates multiple overlayRef
for a single tooltip. Removing it makes the component work perfectly. Although it didn’t throw before rc.6, it still created way too many overlayRef
.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:19
- Comments:13 (3 by maintainers)
Top Results From Across the Web
javascript - Maximum call stack size exceeded error
It means that somewhere in your code, you are calling a function which in turn calls another function and so forth, until you...
Read more >JavaScript RangeError: Maximum Call Stack Size Exceeded
The JavaScript RangeError: Maximum call stack size exceeded is an error that occurs when there are too many function calls, or if a...
Read more >Maximum call stack size exceeded Error when I run d2 app ...
When I run the d2 app scripts init pmtct to create a new app, am getting the following error below. RangeError: Maximum call...
Read more >How to fix a "RangeError: Maximum call stack size - ServiceNow
I'm getting a javascript error on a catalog item in service portal...the error is showing as "RangeError: Maximum call stack size exceeded".
Read more >Validator internal error due to dataset size? - bids - Neurostars
SOME VALIDATION STEPS MAY NOT HAVE OCCURRED (code: 0 - INTERNAL ERROR) .undefined Evidence: RangeError: Maximum call stack size exceeded at ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Updated ng2 to 2.0 final release, material still at 2.0.0-alpha.8-1.
Same problem.
Issue still present in
Angular @ 2.0.1 Material @ 2.0.0-alpha.9-3