atomiks / tippyjs

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

Mobile Singleton focus bug #998

Closed cyrilchapon closed 2 years ago

cyrilchapon commented 2 years ago

Bug description

When using Singleton, default trigger configuration and using mobile, tapping one then directly another element hides the tooltip without reopening it.

I think this is a focus bug, because tapping on, then tapping elsewhere (manually blurring), then taping another element does works. Also, in a 3 singleton, tapping 1 then 2 then 3 shows 1 and 3, but not 2.

Reproduction

Go documentation, singleton section, 3rd example. Tap the first button, then the second.

Temporary workaround

In my case, this is not a clickable element. So going with hideOnClick: false works.