adobe / adobe/spectrum-web-components

[Feat]: Support text-overflow tooltip for ActionButtons

Open
#5,589 0 comments 0 reactions 0 assignees View on GitHub
Component:Action button Feature Needs discussion
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

### Description of the requested feature

Fully support showing a tooltip when label text is too long for the current ActionButton.
see: https://spectrum.adobe.com/page/action-button/#Text-overflow

### Mockups or screenshots

_No response_

### Implementation notes or ideas

- should be enable-able via property
- placement of tooltip should be controlled via property
- maybe the sp-truncated component can be used internally

### Would you like to track this issue in Jira?

- [ ] Yes, please tell me the ticket number!

Contributor guide

Open the contributing guide

Research direction

Start with the ActionButton component and review the Spectrum text-overflow guidance linked in the issue. Check whether the sp-truncated component can be used internally, then define the property-controlled tooltip enablement and placement behavior. Done means long ActionButton labels can show a tooltip with configurable placement while preserving existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.