-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
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
Don't show multiple tooltips at once in a generated list of tooltips #52
Comments
When you use reactive option (reserve event listeners), you only can use 1 html/component element per tippy instance Can you setup a small demo so i can fix it or modify your codes? (https://codesandbox.io/s/vue or github repo) |
I have created a demo here https://codesandbox.io/s/z6my0n2p13 and have realised it is the I guess I could make the tooltips react on hover, rather than click as a tempoary workaround. Unless there is another way? |
u can add |
That then means you can't interact with the tooltip as when you leave the button it closes it. |
maybe you can manage tippy instances like this https://codesandbox.io/s/82kz5m06k9 ? |
Thank you for your help and apologies for not replying. I gave the sample code a go but in the end have stuck with a hover interaction instead of a click to keep things simple. |
I have a list generated by Vue and each item contains a tooltip, however currently I can open 2 at the same time when clicked. Ideally if one is open and you open another one, the first would close. The demos on tippy.js seem correct in this behaaviour and it seems that
multiple: false,
is set as the default in the options, so not sure what I'm doing wrong?Default State:
State after both buttons clicked:
The text was updated successfully, but these errors were encountered: