Skip to content

feat(react-tooltips): suppress tooltips that normally trigger on focus immediately after closing expanded popups #2037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 6, 2025

Conversation

ze-flo
Copy link
Contributor

@ze-flo ze-flo commented Aug 5, 2025

Description

This PR builds on the work from #700. It updates the Tooltip component so that tooltips no longer appear immediately on focus after closing expanded popups, like menu dropdowns. This makes the UX smoother and less distracting.

Detail

Before

Screen.Recording.2025-08-05.at.12.52.19.PM.mov

After

Tooltip no longer shows when focus is returned to the Menu trigger.

Screen.Recording.2025-08-05.at.12.50.34.PM.mov

Checklist

  • 👌 design updates will be Garden Designer approved (add the designer as a reviewer)
  • 🌐 demo is up-to-date (npm start)
  • ⬅️ renders as expected with reversed (RTL) direction
  • ⚫ renders as expected in dark mode
  • 🤘 renders as expected with Bedrock CSS (?bedrock)
  • 💂‍♂️ includes new unit tests. Maintain existing coverage (always >= 96%)
  • ♿ tested for WCAG 2.1 AA accessibility compliance
  • 📝 tested in Chrome, Firefox, Safari, and Edge

@coveralls
Copy link

Coverage Status

coverage: 95.523%. remained the same
when pulling cb4cd82 on ze-flo/tooltip-upgrade
into 9286139 on main.

@ze-flo ze-flo merged commit f934a56 into main Aug 6, 2025
8 of 9 checks passed
@ze-flo ze-flo deleted the ze-flo/tooltip-upgrade branch August 6, 2025 17:28
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