mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-05-18 05:05:36 +02:00
editor: fix crash on task list toggle & drag (#9078)
* make sure column resizing's handleMouseDown correctly checks for handle element Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
@@ -168,7 +168,7 @@ function handleMouseDown(
|
||||
if (!pluginState || pluginState.dragging) return false;
|
||||
|
||||
if (
|
||||
event.target instanceof HTMLElement &&
|
||||
event.target instanceof Element &&
|
||||
event.target.closest(".column-resize-handle") == null
|
||||
) {
|
||||
console.log("No handle target");
|
||||
|
||||
Reference in New Issue
Block a user