question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug(md-tooltip): maximum call stack exceeded when tooltip-position is not "below" - RC6

See original GitHub issue

Angular @ 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:closed
  • Created 7 years ago
  • Reactions:19
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
rbaumicommented, Sep 15, 2016

Updated ng2 to 2.0 final release, material still at 2.0.0-alpha.8-1.

Same problem.

5reactions
Ionarucommented, Oct 5, 2016

Issue still present in

Angular @ 2.0.1 Material @ 2.0.0-alpha.9-3

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found