Skip to content

Introduce combobox-select event - #76

Merged
camertron merged 2 commits into
github:mainfrom
nicowenterodt:combobox-select-event
Sep 14, 2023
Merged

Introduce combobox-select event#76
camertron merged 2 commits into
github:mainfrom
nicowenterodt:combobox-select-event

Conversation

@nicowenterodt

Copy link
Copy Markdown
Contributor

I added an event called combobox-select which is fired when an item is focused but not yet committed.

This can be useful if you want to build an autocompletion while navigating through the options without actual committing a selection by hitting enter (similar to the spotlight search on mac-os).

I hope this also sounds useful to you too.

@nicowenterodt
nicowenterodt requested a review from a team as a code owner September 14, 2023 14:10
@nicowenterodt nicowenterodt changed the title introduce combobox-select event Introduce combobox-select event Sep 14, 2023
@primer-css

Copy link
Copy Markdown

👋 Hello and thanks for pinging us! This issue or PR has been added to our inbox and a Primer first responder will review it soon.

  • 🎨 If this is a PR that includes a visual change, please make sure to add screenshots in the description or deploy this code to a lab machine with instructions for how to test.
  • If this is a PR that includes changes to an interaction, please include a video recording in the description.
  • ⚠️ If this is urgent, please visit us in #primer on Slack and tag the first responders listed in the channel topic.

Comment thread src/index.ts Outdated

@keithamus keithamus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This LGTM. @camertron or @langermank as our FR can merge this and cut a release 🙂 🎉

@camertron
camertron merged commit 3fe250b into github:main Sep 14, 2023
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.

4 participants