mirror of
https://github.com/wekan/wekan.git
synced 2026-01-02 15:48:49 +01:00
Checklist and Checklist-Items on mobile view scroll the screen when drag/drop them to top/bottom
This commit is contained in:
parent
f74fab64b6
commit
70777cfce8
2 changed files with 8 additions and 6 deletions
|
|
@ -13,7 +13,7 @@ function initSorting(items) {
|
|||
appendTo: 'parent',
|
||||
distance: 7,
|
||||
placeholder: 'checklist-item placeholder',
|
||||
scroll: false,
|
||||
scroll: true,
|
||||
start(evt, ui) {
|
||||
ui.placeholder.height(ui.helper.height());
|
||||
EscapeActions.clickExecute(evt.target, 'inlinedForm');
|
||||
|
|
@ -55,7 +55,7 @@ BlazeComponent.extendComponent({
|
|||
return Meteor.user() && Meteor.user().isBoardMember();
|
||||
}
|
||||
|
||||
// Disable sorting if the current user is not a board member or is a miniscreen
|
||||
// Disable sorting if the current user is not a board member
|
||||
self.autorun(() => {
|
||||
const $itemsDom = $(self.itemsDom);
|
||||
if ($itemsDom.data('uiSortable') || $itemsDom.data('sortable')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue