unovue / radix-vue

Vue port of Radix UI Primitives. An open-source UI component library for building high-quality, accessible design systems and web apps.
https://radix-vue.com
MIT License
3.69k stars 229 forks source link

[Bug]: Tooltip not working on touch devices #1443

Open wouterlms opened 1 day ago

wouterlms commented 1 day ago

Link to minimal reproduction

https://reka-ui.com/docs/components/tooltip#tooltip

Steps to reproduce

Click the tooltip trigger

Describe the bug

When clicking the tooltip trigger in the docs, the tooltip does not appear

Expected behavior

The tooltip appears

Context & Screenshots (if applicable)

No response

zernonia commented 18 hours ago

Hmmm.. Tooltip seems fine for me. Do you mind provides more info on this?

wouterlms commented 38 minutes ago

Sorry for not mentioning earlier—this is on touch devices. The only way to open a tooltip on touch devices is by tap, but it doesn't work unless disableClosingTrigger is enabled. Shouldn't this be enabled by default on touch devices?

wouterlms commented 36 minutes ago

I just tested it with disableClosingTrigger and it still doesn't work. So I'm not sure what's wrong