@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.
@@ -13292,10 +13292,6 @@ class Selection {
13292
13292
  }
13293
13293
  handleScroll(e) {
13294
13294
  this.mouseWheel++;
13295
- if (this.mouseWheel === 2) {
13296
- this.mouseWheel = 0;
13297
- return;
13298
- }
13299
13295
  const parent = this.parent;
13300
13296
  let x;
13301
13297
  let y;
@@ -13312,6 +13308,13 @@ class Selection {
13312
13308
  y < parent.img.destTop + parent.img.destHeight) {
13313
13309
  isInsideCanvas = true;
13314
13310
  }
13311
+ if (this.mouseWheel === 2) {
13312
+ this.mouseWheel = 0;
13313
+ if (e.ctrlKey === true && isInsideCanvas) {
13314
+ e.preventDefault();
13315
+ }
13316
+ return;
13317
+ }
13315
13318
  e.stopPropagation();
13316
13319
  if (e.ctrlKey === true && isInsideCanvas) {
13317
13320
  e.preventDefault();