mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: juggling back and forth of drag handles in ordered and unordered lists
This commit is contained in:
parent
52b2fbefe1
commit
8b297b2bda
@ -196,7 +196,7 @@ function DragHandle(options: DragHandleOptions) {
|
||||
y: event.clientY,
|
||||
});
|
||||
|
||||
if (!(node instanceof Element)) {
|
||||
if (!(node instanceof Element) || node.matches("ul, ol")) {
|
||||
hideDragHandle();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user