From d07af215c17dcb41f6e7fad12dd983a757416d1e Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 17 Nov 2023 11:56:24 -0700 Subject: [PATCH] Fix nm column resize grabs mousedown, blocking filter selection --- api/js/etemplate/et2_dataview_view_resizeable.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_dataview_view_resizeable.ts b/api/js/etemplate/et2_dataview_view_resizeable.ts index 2c45612452..4955caf966 100644 --- a/api/js/etemplate/et2_dataview_view_resizeable.ts +++ b/api/js/etemplate/et2_dataview_view_resizeable.ts @@ -135,7 +135,8 @@ export class et2_dataview_view_resizable // Bind the "mousedown" event in the "resize" namespace _elem.bind("mousedown.resize", function(e) { - var stopResize = false; + // Only do resize on the column edge, ignore mousedown on widgets + var stopResize = e.target.tagName.toLowerCase() !== "th"; // Stop resize if the mouse position is more intended // for scrollbar not the resize edge // 8pixel is an arbitary number for scrolbar area