fix drag and drop direct properties

This commit is contained in:
Mads Rasmussen
2021-08-13 13:48:25 +02:00
parent e3f75252a2
commit 64e254657c

View File

@@ -206,7 +206,11 @@
scope.sortableRequestedTabTimeout = $timeout(() => {
scope.openTabAlias = scope.sortableRequestedTabAlias;
scope.sortableRequestedTabTimeout = null;
}, 600);
/* hack to update sortable positions when switching from one tab to another.
without this sorting direct properties doesn't work correctly */
scope.$apply();
$('.umb-group-builder__ungrouped-properties .umb-group-builder__properties').sortable('refresh');
}, 400);
}
},
out: (evt, ui) => {