Skip to content

Commit

Permalink
fix(v-tooltip): use default location from VTooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Sep 3, 2024
1 parent eb0c99e commit 45e0c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/directives/tooltip/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface TooltipDirectiveBinding extends Omit<DirectiveBinding<string>,
export const Tooltip = useDirectiveComponent<TooltipDirectiveBinding>(VTooltip, binding => {
return {
activator: 'parent',
location: binding.arg?.replace('-', ' ') ?? 'top',
location: binding.arg?.replace('-', ' '),
text: typeof binding.value === 'boolean' ? undefined : binding.value,
}
})
Expand Down

0 comments on commit 45e0c8a

Please sign in to comment.