Skip to content

Commit 69f1a2f

Browse files
author
farfromrefug
committed
fix(ios): touch gesture error fix for dynamicElevation
1 parent eb481ee commit 69f1a2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/index.ios.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ export function overrideViewBase() {
322322
if (this._elevationStateChangedHandler.stop) {
323323
this._elevationStateChangedHandler.stop();
324324
} else {
325-
this.off(GestureTypes.touch, this._elevationStateChangedHandler);
325+
this.off('touch', this._elevationStateChangedHandler);
326326
}
327327
}
328328
}
@@ -372,7 +372,7 @@ export function overrideViewBase() {
372372
break;
373373
}
374374
});
375-
this.on(GestureTypes.touch, this._elevationStateChangedHandler);
375+
this.on('touch', this._elevationStateChangedHandler);
376376
}
377377
}
378378
}

0 commit comments

Comments
 (0)