Fix nm column resize grabs mousedown, blocking filter selection

This commit is contained in:
nathan 2023-11-17 11:56:24 -07:00
parent 032035ae5f
commit d07af215c1

View File

@ -135,7 +135,8 @@ export class et2_dataview_view_resizable
// Bind the "mousedown" event in the "resize" namespace // Bind the "mousedown" event in the "resize" namespace
_elem.bind("mousedown.resize", function(e) { _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 // Stop resize if the mouse position is more intended
// for scrollbar not the resize edge // for scrollbar not the resize edge
// 8pixel is an arbitary number for scrolbar area // 8pixel is an arbitary number for scrolbar area