@syncfusion/ej2-image-editor 27.1.53 → 27.1.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13354,10 +13354,6 @@ var Selection = /** @__PURE__ @class */ (function () {
13354
13354
  };
13355
13355
  Selection.prototype.handleScroll = function (e) {
13356
13356
  this.mouseWheel++;
13357
- if (this.mouseWheel === 2) {
13358
- this.mouseWheel = 0;
13359
- return;
13360
- }
13361
13357
  var parent = this.parent;
13362
13358
  var x;
13363
13359
  var y;
@@ -13374,6 +13370,13 @@ var Selection = /** @__PURE__ @class */ (function () {
13374
13370
  y < parent.img.destTop + parent.img.destHeight) {
13375
13371
  isInsideCanvas = true;
13376
13372
  }
13373
+ if (this.mouseWheel === 2) {
13374
+ this.mouseWheel = 0;
13375
+ if (e.ctrlKey === true && isInsideCanvas) {
13376
+ e.preventDefault();
13377
+ }
13378
+ return;
13379
+ }
13377
13380
  e.stopPropagation();
13378
13381
  if (e.ctrlKey === true && isInsideCanvas) {
13379
13382
  e.preventDefault();