adobe / adobe/spectrum-web-components

[Bug]: Clicking on open & self-managed tooltip in action-button triggers button

Open
#3,969 4 comments 0 reactions 0 assignees View on GitHub
bug Component:Action button Component:Tooltip SEV 3 SEV missing
Dominant language
TypeScript
Stars
1.5k
Forks
262
Avg merge
3d 10h
Merged PRs (30d)
68

Description

### Code of conduct

- [X] I agree to follow this project's code of conduct.

### Impacted component(s)

ActionButton, Tooltip

### Expected behavior

Clicking on an open (self-managed) tooltip should not trigger a click on the button itself

### Actual behavior

Clicking on an open (self-managed) tooltip triggers a click on the button itself

### Screenshots

_No response_

### What browsers are you seeing the problem in?

_No response_

### How can we reproduce this issue?

1. Go to https://opensource.adobe.com/spectrum-web-components/components/tooltip/#self-managed-overlays
2. Hover over button
3. Click on tooltip
4. See button reaction

### Sample code that illustrates the problem

_No response_

### Logs taken while reproducing problem

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the self-managed overlays example at the Tooltip documentation URL and inspect the ActionButton and Tooltip interaction described there. Reproduce the click behavior, then verify that clicking an open tooltip no longer causes the button to react.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.