From c8aad56c6af78f73486c62d30cff3fea1d9345cc Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Wed, 16 Nov 2016 13:01:15 -0600 Subject: [PATCH] perf(click): increase number to find activatable elements Closes #9190 --- src/components/tap-click/tap-click.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tap-click/tap-click.ts b/src/components/tap-click/tap-click.ts index e9cdf6b6f0..deec6c22c2 100644 --- a/src/components/tap-click/tap-click.ts +++ b/src/components/tap-click/tap-click.ts @@ -144,7 +144,7 @@ export class TapClick { function getActivatableTarget(ele: HTMLElement) { let targetEle = ele; - for (let x = 0; x < 4; x++) { + for (let x = 0; x < 10; x++) { if (!targetEle) break; if (isActivatable(targetEle)) return targetEle; targetEle = targetEle.parentElement;