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 0842939 commit 03da98eCopy full SHA for 03da98e
core/src/utils/tap-click.ts
@@ -148,7 +148,7 @@ export function startTapClick(doc: Document) {
148
function getActivatableTarget(ev: any): any {
149
if (ev.composedPath) {
150
const path = ev.composedPath() as HTMLElement[];
151
- for (let i = path.length - 3; i >= 0; i--) {
+ for (let i = 0; i < path.length - 2; i++) {
152
const el = path[i];
153
if (el.hasAttribute && el.hasAttribute('ion-activable')) {
154
return el;
0 commit comments