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

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

View File

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

View File

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