From d80cc35e94f3caa94520abf5ed83ba29b7d3bc2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Marseault?= <22910497+Larsluph@users.noreply.github.com> Date: Fri, 10 Nov 2023 20:10:10 +0100 Subject: [PATCH] fix(RightClickMenu): Fix target not being selected on long press (#1295) --- src/pages/Dashboard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Dashboard.vue b/src/pages/Dashboard.vue index 5a18a07c..12d622b8 100644 --- a/src/pages/Dashboard.vue +++ b/src/pages/Dashboard.vue @@ -326,7 +326,7 @@ function endPress() { <v-list-item v-for="torrent in paginatedTorrents" :id="`torrent-${torrent.hash}`" :class="display.mobile ? 'mb-2' : 'mb-4'" class="pa-0" @contextmenu="onRightClick($event, torrent)" - @touchcancel="endPress" @touchend="endPress" @touchmove="endPress" @touchstart="startPress" + @touchcancel="endPress" @touchend="endPress" @touchmove="endPress" @touchstart="startPress($event, torrent)" @dblclick.prevent="goToInfo(torrent.hash)"> <div class="d-flex align-center"> <v-expand-x-transition>