From 51efecaa25f8ece090256fb16a502cd741533872 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Mon, 11 Jul 2022 12:38:57 +0200 Subject: [PATCH] Disable opening context menu by right-clicking on mobile Apparently TapHandlers interpret a tap as a right click, which causes rooms to not open reliably --- imports/NeoChat/Page/RoomListPage.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/imports/NeoChat/Page/RoomListPage.qml b/imports/NeoChat/Page/RoomListPage.qml index 3024be331..8a1b6ad7a 100644 --- a/imports/NeoChat/Page/RoomListPage.qml +++ b/imports/NeoChat/Page/RoomListPage.qml @@ -232,6 +232,7 @@ Kirigami.ScrollablePage { createRoomListContextMenu() } TapHandler { + enabled: !Kirigami.Settings.isMobile acceptedButtons: Qt.RightButton onTapped: createRoomListContextMenu() }