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

@ -22,7 +22,6 @@ New features:
Improvements:
* Add delay of 1.5s for draggable items on touch devices
* Improve file attachments tooltip on the board
* Adjust automatically the height of the placeholder during drag and drop
* Show all tasks when using no search criteria

View File

@ -5,7 +5,7 @@ CSS_PRINT = $(addprefix assets/css/src/, $(addsuffix .css, print links table boa
CSS_VENDOR = $(addprefix assets/css/vendor/, $(addsuffix .css, jquery-ui.min jquery-ui-timepicker-addon.min chosen.min fullcalendar.min font-awesome.min c3.min))
JS_APP = $(addprefix assets/js/src/, $(addsuffix .js, Popover Dropdown Tooltip Markdown Sidebar Search App Screenshot Calendar Board Swimlane Gantt TaskRepartitionChart UserRepartitionChart CumulativeFlowDiagram BurndownChart BudgetChart AvgTimeColumnChart TaskTimeColumnChart LeadCycleTimeChart Router))
JS_VENDOR = $(addprefix assets/js/vendor/, $(addsuffix .js, jquery-1.11.1.min jquery-ui.min jquery-ui-timepicker-addon.min jquery.ui.touch-punch.min chosen.jquery.min moment.min fullcalendar.min mousetrap.min mousetrap-global-bind.min))
JS_VENDOR = $(addprefix assets/js/vendor/, $(addsuffix .js, jquery-1.11.1.min jquery-ui.min jquery-ui-timepicker-addon.min chosen.jquery.min moment.min fullcalendar.min mousetrap.min mousetrap-global-bind.min))
JS_LANG = $(addprefix assets/js/vendor/lang/, $(addsuffix .js, da de es fi fr hu it ja nl nb pl pt pt-br ru sv sr th tr zh-cn))
all: css js

File diff suppressed because one or more lines are too long

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);

12
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "ffa715ba1b335c0a36d296936905667e",
"hash": "0478ce343724fb1689fe2778ba5b687e",
"packages": [
{
"name": "christian-riesen/base32",
@ -369,16 +369,16 @@
},
{
"name": "fguillot/simpleLogger",
"version": "v0.0.2",
"version": "v1.0.0",
"source": {
"type": "git",
"url": "https://github.com/fguillot/simpleLogger.git",
"reference": "97bc14002f18d2fc18ee124c877ac3e55b3fa88b"
"reference": "f9f46439219749a67cefe0983286d540739ba973"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fguillot/simpleLogger/zipball/97bc14002f18d2fc18ee124c877ac3e55b3fa88b",
"reference": "97bc14002f18d2fc18ee124c877ac3e55b3fa88b",
"url": "https://api.github.com/repos/fguillot/simpleLogger/zipball/f9f46439219749a67cefe0983286d540739ba973",
"reference": "f9f46439219749a67cefe0983286d540739ba973",
"shasum": ""
},
"require": {
@ -402,7 +402,7 @@
],
"description": "PHP library to write logs (compatible with PSR-3)",
"homepage": "https://github.com/fguillot/simpleLogger",
"time": "2015-05-30 19:25:09"
"time": "2015-08-29 14:44:37"
},
{
"name": "gregwar/captcha",