Skip to content

Commit

Permalink
fix(ui): Fix for pinch zoom bug in IOS / Safari (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
bensweet86 committed Feb 8, 2021
1 parent 2e4421b commit 3c0a644
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/zone/js-modules/touch-handling.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ export class TouchHandler {
evt.stopPropagation();
evt.preventDefault();

this.ongoingGesture = this.ongoingGesture.removePointer(changedTouches[0]);
changedTouches.forEach(e => {
this.ongoingGesture = this.ongoingGesture.removePointer(e);
});
}
}

0 comments on commit 3c0a644

Please sign in to comment.