adobe / adobe/react-spectrum

[RAC] Can't use Tooltip with Switch

Open
#7,768 7 comments 4 reactions 0 assignees View on GitHub
bug RAC TooltipTrigger
Dominant language
TypeScript
Stars
15.9k
Forks
1.6k
Avg merge
3d 9m
Merged PRs (30d)
59

Description

### 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:

```jsx



my tooltip

```

### 😯 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.