adobe / adobe/spectrum-web-components
[Bug]: CloseButton and ClearButton don't support self-managed tooltips
- 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)
CloseButton, ClearButton
### Expected behavior
As normal ActionButton triggers a slotted (self-managed) tooltip - user would expect the same behavior for CloseButton and ClearButton
### Actual behavior
CloseButton nor ClearButton shows slotted (self-managed) tooltip
### Screenshots
_No response_
### What browsers are you seeing the problem in?
Chrome
### How can we reproduce this issue?
1. Go to https://studio.webcomponents.dev/edit/4jQM84fJGHNtETZSNrFM/src/index.ts?p=stories
2. Hover over action-button => tooltip is showing
3. Hover over close button and clear button => no tooltip is showing
### Sample code or abstract reproduction which illustrates the problem
_No response_
### Severity
SEV 4
### Logs taken while reproducing problem
_No response_
Contributor guide
Research direction
Start by locating the CloseButton and ClearButton implementations and compare how ActionButton handles a slotted, self-managed tooltip. Reproduce the behavior using the linked Studio example in Chrome, then verify that hovering all three buttons shows the expected tooltip.
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
- 45/100