mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 17:48:49 +01:00
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).
This commit is contained in:
parent
879fc47b53
commit
fad4cba5e2
7 changed files with 26 additions and 18 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue