diff --git a/platform/features/layout/src/LayoutController.js b/platform/features/layout/src/LayoutController.js index adc7f5b95d..445b1c9caf 100644 --- a/platform/features/layout/src/LayoutController.js +++ b/platform/features/layout/src/LayoutController.js @@ -127,9 +127,7 @@ define( if (self.droppedIdToSelectAfterRefresh) { self.select(null, self.droppedIdToSelectAfterRefresh); delete self.droppedIdToSelectAfterRefresh; - } - - if (composition.indexOf(self.selectedId) === -1) { + } else if (composition.indexOf(self.selectedId) === -1) { self.clearSelection(); } }