Open YarGnawh opened 7 years ago
disabling pan while pinching worked for me with a little delay before reenabling pan
var timeout;
mc.on("pinchstart", function(ev) {
mc.get('pan').set({
enable: false
});
clearTimeout(timeout)
});
mc.on("pinchend", function(ev) {
timeout = setTimeout(function() {
mc.get('pan').set({
enable: true
});
}, 250);
});
Is it possible to pinch and rotate without the pan recognizer? The pan recognizer makes the page unscrollable on iOS. I tried a few things:
Any thoughts?