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