@refinitiv-ui/efx-grid 6.0.76 → 6.0.77

Sign up to get free protection for your applications and to get access to all the features.
@@ -538,11 +538,8 @@ ColumnDraggingPlugin.prototype._onDrag = function (e) {
538
538
  e.dragBox = this._dragBox;
539
539
  this._renderGuideline();
540
540
  this._dispatch("drag", /** @type{!Object} */(e));
541
- }
542
- if(!this._noDragBox) {
543
- var drop = this._dragUI.renderDragBox(e, this._clickedGrid);
544
- if(!drop) { // can not be drop or not allow to drop or insertion
545
- this._pos["cancel"] = true;
541
+ if(!this._noDragBox) {
542
+ this._dragUI.renderDragBox(e, this._clickedGrid);
546
543
  }
547
544
  }
548
545
  };
@@ -586,6 +583,9 @@ ColumnDraggingPlugin.prototype._onDragEnd = function (e) {
586
583
  operationCancelled = true;
587
584
  }
588
585
 
586
+ if(!this._noDragBox && this._dragBoxIcon.icon === "void") {
587
+ operationCancelled = true;
588
+ }
589
589
  //When move to the right, the first position is the current one.
590
590
  if (this._destColumn > this._startColumn) {
591
591
  --this._destColumn;
@@ -698,6 +698,7 @@ ColumnDraggingPlugin.prototype._clearCache = function() {
698
698
 
699
699
  this._clickedRow = -1;
700
700
  this._clickedSection = this._clickedGrid = null;
701
+ this._dragBoxIcon.icon = null;
701
702
  };
702
703
 
703
704
  /** @private
@@ -7588,7 +7588,7 @@ Scrollbar.prototype._onMouseWheel = function (e) {
7588
7588
  util._preventDefault(e);
7589
7589
  return;
7590
7590
  }
7591
- if(e.ctrlKey || e.altKey || e.shiftKey) { return; }
7591
+ if(e.ctrlKey || e.altKey ) { return; }
7592
7592
  if (!this.isActive()) { return; }
7593
7593
 
7594
7594
  var delta = (this._vertical) ? e["deltaY"] : e["deltaX"];
@@ -26109,7 +26109,7 @@ Core_Core.prototype._firstRendered = false;
26109
26109
  * @return {string}
26110
26110
  */
26111
26111
  Core_Core.getVersion = function () {
26112
- return "5.1.82";
26112
+ return "5.1.83";
26113
26113
  };
26114
26114
  /** {@link ElementWrapper#dispose}
26115
26115
  * @override