From d83149f66880b6945fc4757c2ec2124677e4a3a0 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Wed, 28 Jun 2023 16:12:13 +0200 Subject: [PATCH] qml: add workaround for android predictive back gestures in History component contributes to #8464 --- electrum/gui/qml/components/History.qml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/electrum/gui/qml/components/History.qml b/electrum/gui/qml/components/History.qml index 3b8a339a8..4134d9a1a 100644 --- a/electrum/gui/qml/components/History.qml +++ b/electrum/gui/qml/components/History.qml @@ -107,6 +107,18 @@ Pane { } } + MouseArea { + // cover list items, make left side insensitive to clicks + // this helps with the back gesture on newer androids + id: left_backgesture_hack + anchors { + top: listview.top + left: listview.left + bottom: listview.bottom + } + width: constants.fingerWidth + } + Rectangle { id: dragb anchors.right: vdragscroll.left