@@ -130,9 +130,10 @@ ScopeView {
130130 target: rendererLoader.item
131131 onClicked: {
132132 // Prepare the preview in case activate() triggers a preview only
133− effect.positionPx = mapToItem(categoryView, 0, itemY).y
133+ effect.positionPx = Math.max(mapToItem(categoryView, 0, itemY).y, pageHeader.height + sectionHeaderHeight);
134134 previewListView.categoryId = categoryId
135135 previewListView.categoryDelegate = rendererLoader.item
136+ previewListView.sectionHeaderHeight = sectionHeaderHeight;
136137 previewListView.model = model;
137138 previewListView.init = true;
138139 previewListView.currentIndex = index;
@@ -151,9 +152,10 @@ ScopeView {
151152 }
152153 }
153154 onPressAndHold: {
154− effect.positionPx = Math.max(mapToItem(categoryView, 0, itemY).y, pageHeader.height + units.gu(5));
155+ effect.positionPx = Math.max(mapToItem(categoryView, 0, itemY).y, pageHeader.height + sectionHeaderHeight);
155156 previewListView.categoryId = categoryId
156157 previewListView.categoryDelegate = rendererLoader.item
158+ previewListView.sectionHeaderHeight = sectionHeaderHeight;
157159 previewListView.model = model;
158160 previewListView.init = true;
159161 previewListView.currentIndex = index;
@@ -375,6 +377,7 @@ ScopeView {
375377 // To be set before opening the preview
376378 property string categoryId: ""
377379 property var categoryDelegate
380+ property int sectionHeaderHeight
378381
379382 // because the ListView is built asynchronous, setting the
380383 // currentIndex directly won't work. We need to refresh it
@@ -402,7 +405,7 @@ ScopeView {
402405 var newContentY = itemY - effect.positionPx - categoryDelegate.verticalSpacing;
403406
404407 // Make sure the item is not covered by a header. Move the effect split down if necessary
405− var headerHeight = pageHeader.height + units.gu(5); // sectionHeader's height
408+ var headerHeight = pageHeader.height + previewListView.sectionHeaderHeight;
406409 var effectAdjust = Math.max(effect.positionPx, headerHeight);
407410
408411 // Make sure we don't overscroll the listview. If yes, adjust effect position