mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
@ -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;
|
||||
|
Reference in New Issue
Block a user