fix: Disable context hover (#6962)

This commit is contained in:
Michael Genson
2026-01-31 09:40:31 -06:00
committed by GitHub
parent 47034d18c5
commit c4c7bf2aed
5 changed files with 3 additions and 10 deletions

View File

@@ -15,7 +15,6 @@
:nudge-top="menuTop ? '5' : '0'" :nudge-top="menuTop ? '5' : '0'"
allow-overflow allow-overflow
close-delay="125" close-delay="125"
:open-on-hover="mdAndUp"
content-class="d-print-none" content-class="d-print-none"
> >
<template #activator="{ props: activatorProps }"> <template #activator="{ props: activatorProps }">
@@ -83,8 +82,6 @@ const emit = defineEmits<{
[key: string]: []; [key: string]: [];
}>(); }>();
const { mdAndUp } = useDisplay();
const i18n = useI18n(); const i18n = useI18n();
const { $globals } = useNuxtApp(); const { $globals } = useNuxtApp();
const api = useUserApi(); const api = useUserApi();

View File

@@ -237,8 +237,8 @@ const { shoppingListDialog, shoppingListIngredientDialog, shoppingListShowAllTog
const recipeIngredientSections = ref<ShoppingListRecipeIngredientSection[]>([]); const recipeIngredientSections = ref<ShoppingListRecipeIngredientSection[]>([]);
const selectedShoppingList = ref<ShoppingListSummary | null>(null); const selectedShoppingList = ref<ShoppingListSummary | null>(null);
watch(dialog, (newVal, oldVal) => { watch([dialog, () => preferences.value.viewAllLists], () => {
if (newVal && !oldVal) { if (dialog.value) {
currentHouseholdSlug.value = $auth.user.value?.householdSlug || ""; currentHouseholdSlug.value = $auth.user.value?.householdSlug || "";
filteredShoppingLists.value = props.shoppingLists.filter( filteredShoppingLists.value = props.shoppingLists.filter(
list => preferences.value.viewAllLists || list.userId === $auth.user.value?.id, list => preferences.value.viewAllLists || list.userId === $auth.user.value?.id,
@@ -252,7 +252,7 @@ watch(dialog, (newVal, oldVal) => {
ready.value = true; ready.value = true;
} }
} }
else if (!newVal) { else if (!dialog.value) {
initState(); initState();
} }
}); });

View File

@@ -39,7 +39,6 @@
:nudge-top="props.menuTop ? '5' : '0'" :nudge-top="props.menuTop ? '5' : '0'"
allow-overflow allow-overflow
close-delay="125" close-delay="125"
:open-on-hover="!props.useMobileFormat"
content-class="d-print-none" content-class="d-print-none"
> >
<template #activator="{ props: btnProps }"> <template #activator="{ props: btnProps }">
@@ -99,7 +98,6 @@ const props = defineProps<{
color?: string; color?: string;
event: RecipeTimelineEventOut; event: RecipeTimelineEventOut;
menuIcon?: string | null; menuIcon?: string | null;
useMobileFormat?: boolean;
}>(); }>();
const emit = defineEmits(["delete", "update"]); const emit = defineEmits(["delete", "update"]);

View File

@@ -35,7 +35,6 @@
:menu-top="false" :menu-top="false"
:event="event" :event="event"
:menu-icon="$globals.icons.dotsVertical" :menu-icon="$globals.icons.dotsVertical"
:use-mobile-format="useMobileFormat"
color="transparent" color="transparent"
:elevation="0" :elevation="0"
:card-menu="false" :card-menu="false"

View File

@@ -8,7 +8,6 @@
:nudge-top="menuTop ? '5' : '0'" :nudge-top="menuTop ? '5' : '0'"
allow-overflow allow-overflow
close-delay="125" close-delay="125"
open-on-hover
content-class="d-print-none" content-class="d-print-none"
> >
<template #activator="{ props }"> <template #activator="{ props }">