diff --git a/src/components/ripple.ts b/src/components/ripple.ts index f754bf44..7c50c2d0 100644 --- a/src/components/ripple.ts +++ b/src/components/ripple.ts @@ -56,6 +56,7 @@ export function ripple(elem: HTMLElement, callback: (id: number) => Promise Promise { @@ -134,7 +136,10 @@ export function ripple(elem: HTMLElement, callback: (id: number) => Promise { //console.log('ripple touchstart', e); - if(e.touches.length > 1 || ((e.target as HTMLElement).tagName == 'BUTTON' && e.target != elem) || findUpClassName(e.target as HTMLElement, 'c-ripple') != r) { + if(e.touches.length > 1 + || touchStartFired + || ((e.target as HTMLElement).tagName == 'BUTTON' && e.target != elem) + || findUpClassName(e.target as HTMLElement, 'c-ripple') != r) { return; } @@ -149,7 +154,7 @@ export function ripple(elem: HTMLElement, callback: (id: number) => Promise