diff --git a/src/canvas.class.js b/src/canvas.class.js index b2a0f644f03..6550c465b66 100644 --- a/src/canvas.class.js +++ b/src/canvas.class.js @@ -923,7 +923,6 @@ if (obj && obj.visible && obj.evented && - obj.selectable && this.containsPoint(e, obj)){ if ((this.perPixelTargetFind || obj.perPixelTargetFind) && !obj.isEditing) { var isTransparent = this.isTargetTransparent(obj, pointer.x, pointer.y); diff --git a/src/mixins/canvas_grouping.mixin.js b/src/mixins/canvas_grouping.mixin.js index 422b4491e23..eb9c79ed729 100644 --- a/src/mixins/canvas_grouping.mixin.js +++ b/src/mixins/canvas_grouping.mixin.js @@ -13,7 +13,7 @@ */ _shouldGroup: function(e, target) { var activeObject = this.getActiveObject(); - return e.shiftKey && + return e.shiftKey && target && target.selectable && (this.getActiveGroup() || (activeObject && activeObject !== target)) && this.selection; },