Don't interpret dragging an element as a click

Remove `enableClickOnTouch` as this behavior is not intuitive.
This commit is contained in:
Marc Hartmayer 2020-04-24 22:41:24 +02:00
parent 6d1cdebfe2
commit f1b18d79cd
6 changed files with 6 additions and 27 deletions

View file

@ -1,6 +1,6 @@
import { Cookies } from 'meteor/ostrio:cookies';
const cookies = new Cookies();
const { calculateIndex, enableClickOnTouch } = Utils;
const { calculateIndex } = Utils;
BlazeComponent.extendComponent({
// Proxy
@ -114,9 +114,6 @@ BlazeComponent.extendComponent({
},
});
// ugly touch event hotfix
enableClickOnTouch(itemsSelector);
this.autorun(() => {
let showDesktopDragHandles = false;
currentUser = Meteor.user();