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.
1 parent d7d76bf commit 9fa2870Copy full SHA for 9fa2870
packages/vuetify/src/directives/ripple/index.ts
@@ -135,9 +135,9 @@ const ripples = {
135
const ripples = el.getElementsByClassName('v-ripple__animation')
136
137
if (ripples.length === 0) return
138
- const animation = ripples[ripples.length - 1]
+ const animation = Array.from(ripples).findLast(ripple => !ripple.dataset.isHiding)
139
140
- if (animation.dataset.isHiding) return
+ if (!animation) return
141
else animation.dataset.isHiding = 'true'
142
143
const diff = performance.now() - Number(animation.dataset.activated)
0 commit comments