-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaround
Description
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
.
kiwikern, blyndcide, andregs, SandyKarunia, thegnuu and 14 more
Metadata
Metadata
Assignees
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaround