From 99d01f2d2a1e08bbccda0cd28b87be2ae4a23457 Mon Sep 17 00:00:00 2001 From: Yari Polla Date: Sun, 12 Mar 2023 21:02:52 +0100 Subject: [PATCH] components/GridView: reset highlight when dragging --- components/mobileshell/qml/components/GridView.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/mobileshell/qml/components/GridView.qml b/components/mobileshell/qml/components/GridView.qml index 5d310b1d..8fc6de85 100644 --- a/components/mobileshell/qml/components/GridView.qml +++ b/components/mobileshell/qml/components/GridView.qml @@ -19,6 +19,12 @@ GridView { } } + onDraggingChanged: { + if (dragging) { + currentIndex = -1; + } + } + Component { id: highlightComponent Rectangle {