diff --git a/src/canvas.class.js b/src/canvas.class.js index 850e6e3a..9eddb643 100644 --- a/src/canvas.class.js +++ b/src/canvas.class.js @@ -476,11 +476,13 @@ activeGroup.removeWithUpdate(target); this._resetObjectTransform(activeGroup); target.set('active', false); + if (activeGroup.size() === 1) { // remove group alltogether if after removal it only contains 1 object this.discardActiveGroup(); // activate last remaining object this.setActiveObject(activeGroup.item(0)); + return; } } else {