@@ -102,8 +102,9 @@ Item {
102102 spacing: units.gu(0.5)
103103
104104 // The size of the area the ListView is extended to make sure items are not
105− // destroyed. Note that if the move() operation when dragging switches
106− // the item with one that doesn't have a delegate yet everything breaks badly.
105+ // destroyed when dragging them outside the list. This needs to be at least
106+ // itemHeight to prevent folded items from disappearing and DragArea limits
107+ // need to be smaller than this size to avoid breakage.
107108 property int extensionSize: itemHeight * 3
108109
109110 // The height of the area where icons start getting folded
@@ -214,6 +215,8 @@ Item {
214215 anchors.fill: parent
215216 anchors.topMargin: launcherListView.topMargin
216217 anchors.bottomMargin: launcherListView.bottomMargin
218+ drag.minimumY: -launcherListView.topMargin
219+ drag.maximumY: height + launcherListView.bottomMargin
217220
218221 property int draggedIndex: -1
219222 property var selectedItem