From 45e0c8af029ffcbcb318f10a2e263b35671dbdc6 Mon Sep 17 00:00:00 2001 From: Kael Date: Tue, 3 Sep 2024 17:18:05 +1000 Subject: [PATCH] fix(v-tooltip): use default location from VTooltip --- packages/vuetify/src/directives/tooltip/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vuetify/src/directives/tooltip/index.ts b/packages/vuetify/src/directives/tooltip/index.ts index 597955fdc3a..a8848f7297f 100644 --- a/packages/vuetify/src/directives/tooltip/index.ts +++ b/packages/vuetify/src/directives/tooltip/index.ts @@ -16,7 +16,7 @@ export interface TooltipDirectiveBinding extends Omit, export const Tooltip = useDirectiveComponent(VTooltip, binding => { return { activator: 'parent', - location: binding.arg?.replace('-', ' ') ?? 'top', + location: binding.arg?.replace('-', ' '), text: typeof binding.value === 'boolean' ? undefined : binding.value, } })