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
This commit is contained in:
@@ -232,6 +232,7 @@ Kirigami.ScrollablePage {
|
|||||||
createRoomListContextMenu()
|
createRoomListContextMenu()
|
||||||
}
|
}
|
||||||
TapHandler {
|
TapHandler {
|
||||||
|
enabled: !Kirigami.Settings.isMobile
|
||||||
acceptedButtons: Qt.RightButton
|
acceptedButtons: Qt.RightButton
|
||||||
onTapped: createRoomListContextMenu()
|
onTapped: createRoomListContextMenu()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user