primitives icon indicating copy to clipboard operation
primitives copied to clipboard

Tooltip + DropdownMenu.Item when hovering tooltip disappears

Open skarensmoll opened this issue 1 year ago • 1 comments

Bug report

Current Behavior

when using combination of Tooltip + DropdownMenu.Item, and trying to hover on Tooltip's content, it disappears. My guess is this has to do with asChild and data-state prop being overwritten.

Expected behavior

When hovering on DropdownMenu.Item and then on Tooltip's content, Tooltips does not close.

Reproducible example

https://codesandbox.io/p/devbox/vigorous-kapitsa-259fgv?workspaceId=64755a69-6ad6-43fc-a87e-648c3f009eed

skarensmoll avatar Jul 03 '24 09:07 skarensmoll

I had the same problem with Did you solve it?

BaiFeng666 avatar Nov 18 '25 08:11 BaiFeng666