KABBOUCHI / vue-tippy

VueJS Tooltip powered by Tippy.js
https://vue-tippy.netlify.app
MIT License
726 stars 87 forks source link

Using the render function from vue, content is rendered in a fragment element #237

Closed tonychuuy closed 2 years ago

tonychuuy commented 2 years ago

Hello, I noticed that when using the render function (h) from vue as the content for the tooltip it is rendered inside of a fragment element, is this intended?

Here is a sandbox example: https://codesandbox.io/s/vue-tippy-fragment-0pd3i?file=/src/App.vue

KABBOUCHI commented 2 years ago

Hello, initially I wanted to grab the content of the fragment but didn't work, maybe I forgot to change it back to div or something else.

I'll fix it in the next release.

Edit: fixed https://github.com/KABBOUCHI/vue-tippy/commit/8d8be6352e6ea95c8466c0826535814e751c4275, plz can u try v6.0.0-alpha.48

tonychuuy commented 2 years ago

It is fixed now, thanks.