diff --git a/artifacts/dx.all.24.1.js b/artifacts/dx.all.24.1.js index 309206f5..e58f5847 100644 --- a/artifacts/dx.all.24.1.js +++ b/artifacts/dx.all.24.1.js @@ -93405,7 +93405,14 @@ let ResizeHandle = /*#__PURE__*/function (_Widget) { rightArrow(e) { e.preventDefault(); e.stopPropagation(); + const { + direction, + showCollapseNext + } = this.option(); if ((0, _index.isCommandKeyPressed)(e)) { + if (direction === RESIZE_DIRECTION.vertical || showCollapseNext === false) { + return; + } this._collapseNextHandler(e); } else { this._resizeBy(e, { @@ -93416,7 +93423,14 @@ let ResizeHandle = /*#__PURE__*/function (_Widget) { leftArrow(e) { e.preventDefault(); e.stopPropagation(); + const { + direction, + showCollapsePrev + } = this.option(); if ((0, _index.isCommandKeyPressed)(e)) { + if (direction === RESIZE_DIRECTION.vertical || showCollapsePrev === false) { + return; + } this._collapsePrevHandler(e); } else { this._resizeBy(e, { @@ -93427,7 +93441,14 @@ let ResizeHandle = /*#__PURE__*/function (_Widget) { upArrow(e) { e.preventDefault(); e.stopPropagation(); + const { + direction, + showCollapsePrev + } = this.option(); if ((0, _index.isCommandKeyPressed)(e)) { + if (direction === RESIZE_DIRECTION.horizontal || showCollapsePrev === false) { + return; + } this._collapsePrevHandler(e); } else { this._resizeBy(e, { @@ -93438,7 +93459,14 @@ let ResizeHandle = /*#__PURE__*/function (_Widget) { downArrow(e) { e.preventDefault(); e.stopPropagation(); + const { + direction, + showCollapseNext + } = this.option(); if ((0, _index.isCommandKeyPressed)(e)) { + if (direction === RESIZE_DIRECTION.horizontal || showCollapseNext === false) { + return; + } this._collapseNextHandler(e); } else { this._resizeBy(e, { @@ -93604,6 +93632,10 @@ let ResizeHandle = /*#__PURE__*/function (_Widget) { x: 0, y: 0 }; + const { + resizable + } = this.option(); + if (resizable === false) return; // eslint-disable-next-line @typescript-eslint/no-explicit-any e.offset = offset; this._resizeStartHandler(e);