We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample code ::
<svg :viewBox="0 0 500 400" preserveAspectRatio="xMinYMin meet"> <g> <image v-tippy="{ delay: 100, arrow: true, content: 'Hi I'm a tooltip', interactive: true, trigger: 'click' }" height="18" width="18" xlink:href="/images/flag.svg" /> </g> </svg>
<svg :viewBox="
" preserveAspectRatio="xMinYMin meet"> <g> <image v-tippy="{ delay: 100, arrow: true, content: 'Hi I'm a tooltip', interactive: true, trigger: 'click' }" height="18" width="18" xlink:href="/images/flag.svg" /> </g> </svg>
Tooltip works perfectly fine on a native HTML element. When interactive is set to false, the tooltip renders without any issue.
The text was updated successfully, but these errors were encountered:
@SMNaik123 when you use interactive, it changes the append behavior, and it doesn't work with svgs.
you can fix it, by changing the appendTo, ex:
appendTo
<svg viewBox="0 -10 200 20" style="width: 200px"> <text v-tippy="{ delay: 100, arrow: true, content: 'Hi \'m a tooltip', appendTo, interactive: true, trigger: 'click' }"> test </text> </svg>
const appendTo = () => document.body
https://vue-tippy.netlify.app/props#appendto
Sorry, something went wrong.
No branches or pull requests
Sample code ::
<svg :viewBox="
0 0 500 400" preserveAspectRatio="xMinYMin meet"> <g> <image v-tippy="{ delay: 100, arrow: true, content: 'Hi I'm a tooltip', interactive: true, trigger: 'click' }" height="18" width="18" xlink:href="/images/flag.svg" /> </g> </svg>
Tooltip works perfectly fine on a native HTML element.
When interactive is set to false, the tooltip renders without any issue.
The text was updated successfully, but these errors were encountered: