Skip to content

[RAC] Can't use Tooltip with Switch #7768

@staticshock

Description

@staticshock

Provide a general summary of the issue here

Hovering over a Switch does not render Tooltip

🤔 Expected Behavior?

I was expecting this to show a tooltip when the switch is hovered:

<TooltipTrigger>
  <Switch />
  <Tooltip>
    my tooltip
  </Tooltip>
</TooltipTrigger>

😯 Current Behavior

No tooltip on hover

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

https://codesandbox.io/p/devbox/runtime-resonance-hvl4tr

Version

react-aria-components 1.5

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

macOS

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions