atomiks / tippyjs

Tooltip, popover, dropdown, and menu library
https://atomiks.github.io/tippyjs/
MIT License
11.86k stars 520 forks source link

Correct tippy is not visible #1080

Open gauchavan opened 1 year ago

gauchavan commented 1 year ago

Bug description

I have an outerWrapper div which is interactive and a button inside outerWrapper div, we have attach tippy to div and to the button

My tippy's config is Trigger = focusin and only one tippu should be visible at a time

We are showing tooltip through focus workflow, users tabs in focus is on outerWrapper component we see the correct tooltip now we press tab again, focus is on button but the tooltip is shown of outerWrapper

A clear and concise description of what the bug is.

Reproduction

press Tab until the focus is on button, I am expecting the tooltip attached to button but outerWrapper tooltip is visible

CodePen link: https://codepen.io/gaurichavan/pen/xxjVWjJ