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

next: add closeOnSelect prop to menu items #859

Merged
merged 1 commit into from
Nov 3, 2024

Conversation

huntabyte
Copy link
Owner

Adds a closeOnSelect prop that defaults to true. Set it to false to prevent the menu from closing when the item is selected (via keyboard or mouse)

Copy link

changeset-bot bot commented Nov 3, 2024

🦋 Changeset detected

Latest commit: bb719a2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
bits-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Nov 3, 2024

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
bits-ui ✅ Ready (View Log) Visit Preview bb719a2

@huntabyte huntabyte merged commit 8870e71 into next Nov 3, 2024
5 checks passed
@huntabyte huntabyte deleted the next-menu-close-on-select branch November 3, 2024 00:49
@github-actions github-actions bot mentioned this pull request Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant