This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
$mdToast increases watchers but does not remove them if multiple toasts are displayed within a digest. #5193
Closed

Description
This is kind of hard to explain, bare with me.
Using $mdToast, if you click one of the buttons to display a toast, rapidly enough so the toast does not disappear between clicks (and multiple toasts are created within 1 digest cycle), it will increase the watcher count considerably but will not remove all of the watchers for all of the toasts.
$mdToast only decreases the watchers for the last toast created within a digest cycle.