From 18e96d5c7d17e02589767843235737314306b41b Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 11 Apr 2021 22:24:39 +0200 Subject: Fix some TapHandler focus issues --- resources/qml/TimelineRow.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resources/qml/TimelineRow.qml') diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml index a66b994a..321be5b2 100644 --- a/resources/qml/TimelineRow.qml +++ b/resources/qml/TimelineRow.qml @@ -29,11 +29,13 @@ Item { TapHandler { acceptedButtons: Qt.RightButton onSingleTapped: messageContextMenu.show(model.id, model.type, model.isEncrypted, model.isEditable) + gesturePolicy: TapHandler.ReleaseWithinBounds } TapHandler { onLongPressed: messageContextMenu.show(model.id, model.type, model.isEncrypted, model.isEditable) onDoubleTapped: chat.model.reply = model.id + gesturePolicy: TapHandler.ReleaseWithinBounds } RowLayout { -- cgit 1.5.1