@nasser-sw/fabric 7.0.1-beta21 → 7.0.1-beta22

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.
@@ -410,7 +410,7 @@ class Cache {
410
410
  }
411
411
  const cache = new Cache();
412
412
 
413
- var version = "7.0.1-beta20";
413
+ var version = "7.0.1-beta21";
414
414
 
415
415
  // use this syntax so babel plugin see this import here
416
416
  const VERSION = version;
@@ -31068,9 +31068,10 @@ class Frame extends Group {
31068
31068
  this._setupEditModeConstraints();
31069
31069
  this.set('dirty', true);
31070
31070
 
31071
- // Select the content image on the canvas
31071
+ // Just render - don't call setActiveObject() on the content image
31072
+ // because it causes position miscalculation with viewport transforms.
31073
+ // The content image is still interactive via subTargetCheck = true
31072
31074
  if (this.canvas) {
31073
- this.canvas.setActiveObject(this._contentImage);
31074
31075
  this.canvas.renderAll();
31075
31076
  }
31076
31077