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:
01zulfi
2025-12-23 10:55:28 +05:00
committed by GitHub
parent de37cb0da1
commit f6140e8396

View File

@@ -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");