Skip to content

feat: Allow unsetting a custom tooltip - #10385

Merged
gonfunko merged 1 commit into
mainfrom
protip
Aug 28, 2026
Merged

feat: Allow unsetting a custom tooltip#10385
gonfunko merged 1 commit into
mainfrom
protip

Conversation

@gonfunko

Copy link
Copy Markdown
Contributor

The basics

The details

Proposed Changes

This PR updates the types on Tooltip.setCustomTooltip() to allow for undefined, which reverts to the default implementation. This was always possible, but during the TS conversion it was inadvertently prohibited.

Reason for Changes

We allow setting custom tooltips, and we should allow undoing that as well. This is also needed for test teardown.

@gonfunko
gonfunko requested a review from a team as a code owner August 28, 2026 16:49
@gonfunko
gonfunko requested a review from lizschwab August 28, 2026 16:49
@github-actions github-actions Bot added the PR: feature Adds a feature label Aug 28, 2026
@gonfunko
gonfunko merged commit a7f49c7 into main Aug 28, 2026
11 checks passed
@gonfunko
gonfunko deleted the protip branch August 28, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feature Adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants