diff --git a/packages/frontend/src/components/MkMediaBanner.vue b/packages/frontend/src/components/MkMediaBanner.vue index 0d5c1cbe0..fe8557817 100644 --- a/packages/frontend/src/components/MkMediaBanner.vue +++ b/packages/frontend/src/components/MkMediaBanner.vue @@ -42,6 +42,8 @@ const hide = ref(true); function showHiddenContent(ev: MouseEvent) { if (defaultStore.state.sensitiveDoubleClickRequired) { + ev.preventDefault(); + ev.stopPropagation(); return; } diff --git a/packages/frontend/src/components/MkMediaImage.vue b/packages/frontend/src/components/MkMediaImage.vue index 6cc9ab032..bea768abc 100644 --- a/packages/frontend/src/components/MkMediaImage.vue +++ b/packages/frontend/src/components/MkMediaImage.vue @@ -136,6 +136,8 @@ function showHiddenContent(ev: MouseEvent) { } if (defaultStore.state.sensitiveDoubleClickRequired) { + ev.preventDefault(); + ev.stopPropagation(); return; } diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue index 5eba7b3a0..c33eb97f0 100644 --- a/packages/frontend/src/components/MkMediaVideo.vue +++ b/packages/frontend/src/components/MkMediaVideo.vue @@ -256,6 +256,8 @@ function showMenu(ev: MouseEvent) { function showHiddenContent(ev: MouseEvent) { if (defaultStore.state.sensitiveDoubleClickRequired) { + ev.preventDefault(); + ev.stopPropagation(); return; }