diff --git a/components/mobileshell/qml/navigationpanel/GesturePanel.qml b/components/mobileshell/qml/navigationpanel/GesturePanel.qml index 76e84ebd..eac76ea1 100644 --- a/components/mobileshell/qml/navigationpanel/GesturePanel.qml +++ b/components/mobileshell/qml/navigationpanel/GesturePanel.qml @@ -35,6 +35,19 @@ Rectangle { onClicked: root.handleClicked() onPressAndHold: root.handlePressedAndHeld() + property real startX + property real startY + onPressed: { + startX = mouseX; + startY = mouseY; + } + onPositionChanged: (mouse) => { + // Trigger gesture after threshold is crossed (root.height) + if (startY - mouse.y > root.height) { + root.handleClicked(); + } + } + Rectangle { anchors.centerIn: parent width: parent.width