Skip to content
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

feat(MenuItem): allow Items to override the closeOnSelect behaviour of a MenuTrigger #656

Conversation

dominiccarrington
Copy link
Collaborator

Description

This PR adds the closeOnSelect attribute to the react-aria Item component and allows an Item component to override the default behaviour defined by

Links

Required for: https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-505153

@dominiccarrington dominiccarrington added the validated If the pull request is validated automation. label Sep 30, 2024
Copy link
Collaborator

@nataliadelmar nataliadelmar left a comment

Choose a reason for hiding this comment

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

lgtm!

src/components/MenuTrigger/MenuTrigger.stories.tsx Outdated Show resolved Hide resolved
@nataliadelmar nataliadelmar merged commit 22ecba8 into momentum-design:master Oct 1, 2024
5 checks passed
Copy link

github-actions bot commented Oct 1, 2024

🎉 This PR is included in version 26.168.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released validated If the pull request is validated automation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants