From 2076453d7df05eb46d43a2224533158eaa697fc1 Mon Sep 17 00:00:00 2001 From: Fabian Kirchhoff Date: Mon, 16 Sep 2024 14:17:13 +0200 Subject: [PATCH] fix: manually pass attributes to tooltips --- packages/floating-vue/src/directives/v-tooltip.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/floating-vue/src/directives/v-tooltip.ts b/packages/floating-vue/src/directives/v-tooltip.ts index afb3c438..01c9fc79 100644 --- a/packages/floating-vue/src/directives/v-tooltip.ts +++ b/packages/floating-vue/src/directives/v-tooltip.ts @@ -56,7 +56,6 @@ function ensureDirectiveApp () { directiveApp = createApp({ name: 'VTooltipDirectiveApp', - inheritAttrs: false, setup () { return { directives, @@ -66,6 +65,7 @@ function ensureDirectiveApp () { return this.directives.map((directive) => { return h(TooltipDirective, { ...directive.options, + ...this.$attrs, shown: directive.shown || directive.options.shown, key: directive.id, })