Skip to content

feat: add rich tooltip mode to Tooltip#5031

Open
hazrid93 wants to merge 1 commit into
callstack:mainfrom
hazrid93:hazrid93/4074_rich_tooltip
Open

feat: add rich tooltip mode to Tooltip#5031
hazrid93 wants to merge 1 commit into
callstack:mainfrom
hazrid93:hazrid93/4074_rich_tooltip

Conversation

@hazrid93

Copy link
Copy Markdown

feat: add rich tooltip mode to Tooltip

Closes #4074.

Extends Tooltip with a mode that selects between the current plain behaviour and a new rich behaviour. Rich mode renders an optional heading above multi line supporting text and up to two action buttons.

Each action button is individually pressable, exposes a button accessibility role and label, invokes its own callback, and dismisses the tooltip. A rich tooltip is persistent, staying open after the trigger touch ends, and dismisses on an action press or an outside tap, firing a dismissal callback on close. Plain mode keeps the current fixed 32px container height and single line label, and rich only props have no effect in plain mode. The new mode, action, and dismiss types are exported from the public surface.

@callstack-bot

callstack-bot commented Jul 20, 2026

Copy link
Copy Markdown

Hey @hazrid93, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@hazrid93
hazrid93 force-pushed the hazrid93/4074_rich_tooltip branch from 5220950 to 0212627 Compare July 20, 2026 11:22
Closes callstack#4074.

Extends Tooltip with a mode that selects between the current plain behaviour and a new rich behaviour. Rich mode renders an optional heading above multi line supporting text and up to two action buttons.

Each action button is individually pressable, exposes a button accessibility role and label, invokes its own callback, and dismisses the tooltip. A rich tooltip is persistent, staying open after the trigger touch ends, and dismisses on an action press or an outside tap, firing a dismissal callback on close. Plain mode keeps the current fixed 32px container height and single line label, and rich only props have no effect in plain mode. The new mode, action, and dismiss types are exported from the public surface.
@hazrid93
hazrid93 force-pushed the hazrid93/4074_rich_tooltip branch from 0212627 to 4aa9d47 Compare July 20, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: rich Tooltip type

2 participants