Skip to content

Conversation

@sverg-cb
Copy link
Contributor

@sverg-cb sverg-cb commented Dec 11, 2025

What changed? Why?

  • Add the following optional props to Web and Mobile Tooltip: openDelay and closeDelay
  • 2 delay props vs 1 allows devs to pick different delay speeds (in milliseconds) for content open and close
  • normal tooltip content behavior on content open or close when corresponding delay prop is undefined

Root cause (required for bugfixes)

UI changes

iOS

Screen.Recording.2026-02-10.at.11.56.04.AM.mov

Web

Screen.Recording.2026-02-10.at.11.56.50.AM.mov

Testing

How has it been tested?

  • Unit tests
  • Interaction tests
  • Pseudo State tests
  • Manual - Web
  • Manual - Android (Emulator / Device)
  • Manual - iOS (Emulator / Device)

Testing instructions

  • yarn nx dev storybook or yarn nx dev docs

Illustrations/Icons Checklist

Required if this PR changes files under packages/illustrations/** or packages/icons/**

  • verified visreg changes with Terran (include link to visreg run/approval)
  • all illustration/icons names have been reviewed by Dom and/or Terran

Change management

type=routine
risk=low
impact=sev5

automerge=false

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Dec 11, 2025

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 1
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1
CODEOWNERS 🟡 See below

🟡 CODEOWNERS

Code Owner Status Calculation
ui-systems-eng-team 🟡 0/1
Denominator calculation
Additional CODEOWNERS Requirement
Show calculation
Sum 0
0
From CODEOWNERS 1
Sum 1

@sverg-cb sverg-cb force-pushed the sverg/tooltip-delay branch from 76e2ca6 to 4bf9db3 Compare February 10, 2026 22:13
@sverg-cb sverg-cb marked this pull request as ready for review February 10, 2026 22:28
Copy link
Contributor

@haoruikun-cb haoruikun-cb left a comment

Choose a reason for hiding this comment

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

Great work. My suggestion on the xxDelay != null can be applied to multiple places.

});
};

if (closeDelay != null && closeDelay > 0) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: it could be

Suggested change
if (closeDelay != null && closeDelay > 0) {
if (closeDelay && closeDelay > 0) {

};

clearOpenTimeout();
if (openDelay != null && openDelay > 0) {
Copy link
Contributor

Choose a reason for hiding this comment

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

same suggestion as above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants