mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Don't interpret dragging an element as a click
Remove `enableClickOnTouch` as this behavior is not intuitive.
This commit is contained in:
parent
6d1cdebfe2
commit
f1b18d79cd
6 changed files with 6 additions and 27 deletions
|
@ -1,7 +1,7 @@
|
|||
import { Cookies } from 'meteor/ostrio:cookies';
|
||||
const cookies = new Cookies();
|
||||
const subManager = new SubsManager();
|
||||
const { calculateIndex, enableClickOnTouch } = Utils;
|
||||
const { calculateIndex } = Utils;
|
||||
const swimlaneWhileSortingHeight = 150;
|
||||
|
||||
BlazeComponent.extendComponent({
|
||||
|
@ -191,9 +191,6 @@ BlazeComponent.extendComponent({
|
|||
},
|
||||
});
|
||||
|
||||
// ugly touch event hotfix
|
||||
enableClickOnTouch('.js-swimlane:not(.placeholder)');
|
||||
|
||||
this.autorun(() => {
|
||||
let showDesktopDragHandles = false;
|
||||
currentUser = Meteor.user();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue