angulardart / angular_components

The official Material Design components for AngularDart. Used at Google in production apps.
https://pub.dev/packages/angular_components
374 stars 123 forks source link

Tooltip does not vanish after route navigation with reusable routes #444

Open supermuka opened 4 years ago

supermuka commented 4 years ago

We have this AngularJS issue with AngularDart too when we use CanReuse in a component class like a class MyComponent with CanReuse { }, the tooltip does not vanish after route navigation.

If the with CanReuse is removed on implementation, than the tooltip vanish.

See an example using CanReuse and navigating to another page. The tooltip stay on top left side:

Untitled_ Oct 22 2019 4_18 PM

afpatmin commented 3 years ago

This affects MaterialPopupComponent - possibly other AngularComponents depending on it also (such as DropdownSelectComponent)

I've tried explicitly setting the visible flag to false when onDeactivate() is called on the parent component but with no effect.