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 bb6d771 commit 46ce86cCopy full SHA for 46ce86c
src/gesturehandler/gestures_override.ts
@@ -126,10 +126,10 @@ export class GesturesObserver {
126
127
private _detach() {
128
if (this.gestureHandler) {
129
- this.gestureHandler.off(GestureHandlerStateEvent);
130
- this.gestureHandler.off(GestureHandlerTouchEvent);
+ // dont detach events. It will be done on dispose
+ // this.gestureHandler.off(GestureHandlerStateEvent);
131
+ // this.gestureHandler.off(GestureHandlerTouchEvent);
132
this.gestureHandler.detachFromView(this.target);
- // delete this.target._gestureHandlers[this.type];
133
}
134
this._notifyTouch = false;
135
this._eventData = {};
0 commit comments