Revert touch delay due to scrolling issue

This commit is contained in:
Frederic Guillot
2015-08-29 13:01:49 -04:00
parent 720d1bc3bd
commit 913d891a40
6 changed files with 12 additions and 23 deletions

View File

@@ -113,7 +113,7 @@ Board.prototype.dragAndDrop = function() {
var self = this;
$(".board-task-list").sortable({
forcePlaceholderSize: true,
delay: $.support.touch ? 1500 : 300,
delay: 300,
distance: 5,
connectWith: ".board-task-list",
placeholder: "draggable-placeholder",

View File

@@ -268,7 +268,7 @@ Gantt.prototype.listenForBlockResize = function(startDate) {
jQuery("div.ganttview-block", this.options.container).resizable({
grid: this.options.cellWidth,
handles: "e,w",
delay: $.support.touch ? 1500 : 300,
delay: 300,
stop: function() {
var block = jQuery(this);
self.updateDataAndPosition(block, startDate);
@@ -283,7 +283,7 @@ Gantt.prototype.listenForBlockMove = function(startDate) {
jQuery("div.ganttview-block", this.options.container).draggable({
axis: "x",
delay: $.support.touch ? 1500 : 300,
delay: 300,
grid: [this.options.cellWidth, this.options.cellWidth],
stop: function() {
var block = jQuery(this);