Skip to content

table-input - Show tooltip for entire button#9084

Merged
kidonng merged 1 commit into
mainfrom
table-input/tooltip
Mar 12, 2026
Merged

table-input - Show tooltip for entire button#9084
kidonng merged 1 commit into
mainfrom
table-input/tooltip

Conversation

@kidonng
Copy link
Copy Markdown
Member

@kidonng kidonng commented Mar 12, 2026

Super nit-picking cosmetic change incoming. The tooltip currently only applies to the icon, which is a bit off.

Can't just move .tooltipped to <summary> as that would show the tooltip together with the table popup.

Test URLs

Here

Screenshot

Before
Screen.Recording.2026-03-12.at.5.05.19.PM.mov
After
Screen.Recording.2026-03-12.at.5.06.11.PM.mov

@kidonng kidonng added the bug label Mar 12, 2026
@github-actions github-actions Bot changed the title table-input - Show tooltip for entire button table-input - Show tooltip for entire button Mar 12, 2026
Comment thread source/globals.d.ts
'action-menu': IntrinsicElements.HTMLELement;
'focus-group': IntrinsicElements.HTMLELement;
'action-list': IntrinsicElements.HTMLELement;
'tool-tip': IntrinsicElements.HTMLElement;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised we never used this before. Is this their latest implementation of tooltipped? I was under the impression we already used the successor of .tooltipped

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's been some time since I first saw this (over a year I think). In some places (like buttons in site header) GitHub uses plain https://primer.style/product/components/tooltip/ instead of <tool-tip>, but I believe they use the same implementation.

@kidonng kidonng merged commit a7b9371 into main Mar 12, 2026
11 checks passed
@SunsetTechuila SunsetTechuila deleted the table-input/tooltip branch March 12, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants