-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(material/snack-bar): clear timeout upon dismiss with action (#22485)
This is very similar to #4860 where a programmatic dismiss cancelled the timeout. This patch is for a manual dismiss via clicking on the snackbar action. It is especially useful in e2e tests with Protractor, because Protractor always wait for Angular to become stable. With this patch Protractor does not need to wait if the action is clicked, saving potentially a lot of time in repetitive e2e tests. (cherry picked from commit c08e2c9)
- Loading branch information
1 parent
c9b9d8a
commit f3dcfa9
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters