From fad4cba5e20b3273c2adc80b7a7c5c9fa57ed720 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Wed, 17 Jun 2015 12:51:03 +0200 Subject: Improve card and list sortable drag Use a custom build of jquery-ui with only the plugins we need (instead of including everything). Fix a tricky bug of conflict between Blaze reactive updates and jquery-ui (which caused cards to sometimes disappear). --- client/components/boards/boardBody.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/boards/boardBody.js') diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js index 1fd64cbc..876f2cd0 100644 --- a/client/components/boards/boardBody.js +++ b/client/components/boards/boardBody.js @@ -72,10 +72,10 @@ BlazeComponent.extendComponent({ self.$(lists).sortable({ tolerance: 'pointer', - appendTo: '.js-lists', helper: 'clone', items: '.js-list:not(.js-list-composer)', placeholder: 'list placeholder', + distance: 7, start: function(evt, ui) { ui.placeholder.height(ui.helper.height()); Popup.close(); -- cgit v1.2.3-1-g7c22