mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-01 13:33:11 -05:00
fix: Disable context hover (#6962)
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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"]);
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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 }">
|
||||||
|
|||||||
Reference in New Issue
Block a user