Skip to content

Commit

Permalink
fix: manually pass attributes to tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
fabkho committed Sep 16, 2024
1 parent a94bb6c commit 2076453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/floating-vue/src/directives/v-tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ function ensureDirectiveApp () {

directiveApp = createApp({
name: 'VTooltipDirectiveApp',
inheritAttrs: false,
setup () {
return {
directives,
Expand All @@ -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,
})
Expand Down

0 comments on commit 2076453

Please sign in to comment.