We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3211f8e + 38142c7 commit 4298d47Copy full SHA for 4298d47
src/components/mdSnackbar/mdSnackbar.vue
@@ -69,7 +69,12 @@
69
methods: {
70
removeElement() {
71
if (this.rootElement.contains(this.snackbarElement)) {
72
- this.snackbarElement.querySelector('.md-ripple').classList.remove('md-active');
+ const activeRipple = this.snackbarElement.querySelector('.md-ripple.md-active');
73
+
74
+ if (activeRipple) {
75
+ activeRipple.classList.remove('md-active');
76
+ }
77
78
this.rootElement.removeChild(this.snackbarElement);
79
}
80
},
0 commit comments