fix glitches on drag & drop, fixes #1587

This commit is contained in:
zadam
2021-01-28 21:19:01 +01:00
parent 2dc742f5b8
commit 810fd9e819
2 changed files with 2 additions and 1 deletions

View File

@@ -395,6 +395,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
},
dnd5: {
autoExpandMS: 600,
preventLazyParents: false,
dragStart: (node, data) => {
// don't allow dragging root node
if (node.data.noteId === hoistedNoteService.getHoistedNoteId()