MdTooltip: navigating to a new page while the tooltip is still visible throws an error #1809
Labels
P2
The issue is important to a large percentage of users, with a workaround
Milestone
Bug, feature request, or proposal:
Bug
What is the expected behavior?
It should not throw an error.
What is the current behavior?
If you navigate away from a page (via routing) where a tooltip is currently being displayed, it throws a
Uncaught TypeError: Cannot read property 'dispose' of null
.Stacktrace:
What are the steps to reproduce?
Have a simple page with a tooltip and a second page to navigate to via the angular router. Show the tooltip and navigate away to the second page before the tooltip is removed (within the 1.5s window).
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, browsers are affected?
2.0.0-alpha.10
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: