Skip to content

Commit c8aad56

Browse files
committed
perf(click): increase number to find activatable elements
Closes #9190
1 parent c44f6b6 commit c8aad56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/tap-click/tap-click.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export class TapClick {
144144

145145
function getActivatableTarget(ele: HTMLElement) {
146146
let targetEle = ele;
147-
for (let x = 0; x < 4; x++) {
147+
for (let x = 0; x < 10; x++) {
148148
if (!targetEle) break;
149149
if (isActivatable(targetEle)) return targetEle;
150150
targetEle = targetEle.parentElement;

0 commit comments

Comments
 (0)