Skip to content

Conversation

@ze-flo
Copy link
Contributor

@ze-flo ze-flo commented Jul 31, 2025

Description

Description
This PR is a follow-up to zendeskgarden/react-containers#699 and resolves an issue where clicking outside a menu dropdown does not close it when a nested item is auto-focused.

Detail

Before

Screen.Recording.2025-07-31.at.9.42.26.AM.mov

After

Screen.Recording.2025-07-31.at.9.45.32.AM.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

@ze-flo ze-flo requested a review from a team as a code owner July 31, 2025 19:56
"@floating-ui/react-dom": "^2.0.0",
"@zendeskgarden/container-combobox": "^2.0.5",
"@zendeskgarden/container-menu": "^1.0.0",
"@zendeskgarden/container-menu": "1.0.1",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"@zendeskgarden/container-menu": "1.0.1",
"@zendeskgarden/container-menu": "^1.0.1",

As a rule, Garden container dependencies get hat notation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, old habits. 🤦

@coveralls
Copy link

coveralls commented Jul 31, 2025

Coverage Status

coverage: 95.523%. remained the same
when pulling 14c0765 on ze-flo/menu-blur-fix
into cab181c on main.

@ze-flo ze-flo merged commit e4632bc into main Jul 31, 2025
8 checks passed
@ze-flo ze-flo deleted the ze-flo/menu-blur-fix branch July 31, 2025 20:15
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