question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does vue(3)-tippy have grouping?

See original GitHub issue

It looks like the grouping method that was talked about here #263 doesn’t work in v6. I don’t know if this is the only issue, but so far it’s stuck on import { tippy } from "vue-tippy"tippy.group == undefined.

This is the same working codesandbox from that original question, I just upgraded to Vue 3 and vue-tippy v6: https://codesandbox.io/s/tippygroup-example-vue-3-zr08dq?file=/src/TippyGroup.vue:568-667

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
KABBOUCHIcommented, Nov 22, 2022

all of them share the same tooltip, @show will trigger once, but u can use @trigger on the singleton component

https://vue-tippy.netlify.app/props#ontrigger

 <tippy-singleton move-transition="transform 0.2s ease-out" placement="top" @trigger="onTrigger">
      <tippy  v-for="i in 10" :key="i">
        <template #content>
          <div>Working tooltip</div>
        </template>
        Button {{ i }}
      </tippy>
</tippy-singleton>

https://codesandbox.io/s/tippygroup-example-vue-3-forked-xvv2sr?file=/src/App.vue:193-214

0reactions
joonaspaakkocommented, Nov 23, 2022

Just in case someone is doing something similar, one thing that caught me super off-guard was how in v6 the prop interactive: true now auto defaults appendTo: "parent" instead of the default document.body.

So in my case I have tippy in a carousel slider, which has overflow: hidden around it for obvious reasons. So coming from an earlier version of vue-tippy, I had to round up all the cats and dogs to track down why all of a sudden my tooltip became invisible when it used to work just fine. Turns out the tooltip was now in a different location inside the DOM overflowing over to the hidden area because it was interactive… Simple enough fix once I figured out what was the root cause, I just added a new appendTo prop that forced the tooltip back to document.body.

It’s mentioned in the documentation next to the appendTo prop.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tippy.js - Tooltip, Popover, Dropdown, and Menu Library
Your tippy can be placed on four different sides in relation to the reference element. Additionally, it can be aligned to the reference...
Read more >
Nesting-free Tippy.js components for Vue 3 - GitHub
Tippy.vue doesn't have a vue property for every Tippy.js prop, instead providing extra for additional options. This is by design, since ...
Read more >
Vue and Vue-tippy html content - Stack Overflow
I need to show an html content inside vue-tippy element (https://github.com/KABBOUCHI/vue-tippy) with data-binding elements, ...
Read more >
VueTippy: Introduction
Tippy.js is the complete tooltip, popover, dropdown, and menu solution for the web, powered by Popper. VueTippy is a Vue 3 ...
Read more >
Tooltip | Components - BootstrapVue
Easily add tooltips to elements or components via the component or v-b-tooltip directive.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found