Skip to content

fix(combobox): close the combobox even if there's no selection - #6923

Merged
Chris Holt (chrisdholt) merged 5 commits into
microsoft:masterfrom
zpeterson:users/zoepeterson/close-combobox-no-selection
Apr 24, 2024
Merged

Chris Holt (chrisdholt) merged 5 commits into
microsoft:masterfrom
zpeterson:users/zoepeterson/close-combobox-no-selection

Conversation

@zpeterson

Copy link
Copy Markdown
Contributor

Pull Request

📖 Description

Fix issue where the combobox remains open if there's no selection.

Before

close-combobox-bug

After

close-combobox-fixed

🎫 Issues

#5721
microsoft/fluentui#30693

👩‍💻 Reviewer Notes

Test in Storybook and review the before/after GIFs.

📑 Test Plan

Tested in Storybook.

✅ Checklist

General

  • I have included a change request file using $ yarn change
  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

@zpeterson Zoë Peterson (zpeterson) changed the title Users/zoepeterson/close combobox no selection fix(combobox): close the combobox even if there's no selection Mar 11, 2024
@joriverm

Copy link
Copy Markdown

oh, i just noticed this as it tagged the issue i created. would be great if it got merged :)

@vnbaaij

Vincent Baaij (vnbaaij) commented Mar 14, 2024 •

Copy link
Copy Markdown
Contributor

Brian Heston (@bheston), John Kreitlow (@radium-v) and Nathan Brown (@KingOfTac) Please assess and approve this. We would like to get this fixed for .NET Aspire (with Fluent UI Blazor) so it needs to get cherry picked into archives/fast-element-1 as well. Thanks!

@radium-v John Kreitlow (radium-v) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Adding specific interactions to the indicator glyph likely requires adding ARIA functionality, since it's currently aria-hidden.

@joriverm

Copy link
Copy Markdown

Is there any updates on this? is the change request of John Kreitlow (@radium-v) still open?

@radium-v
John Kreitlow (radium-v) force-pushed the users/zoepeterson/close-combobox-no-selection branch from 23fcbcf to ed5923b Compare March 29, 2024 22:04
@joriverm

joriverm commented Apr 9, 2024

Copy link
Copy Markdown

@chrisdholt

Copy link
Copy Markdown
Member

Stephane Comeau (@scomea) Nathan Brown (@KingOfTac) any thoughts here?

@scomea

Copy link
Copy Markdown
Collaborator

Stephane Comeau (@scomea) Nathan Brown (@KingOfTac) any thoughts here?

I smoked it, noticed a minor redundant line, but otherwise I'm good with merging.

@chrisdholt
Chris Holt (chrisdholt) merged commit 543a69c into microsoft:master Apr 24, 2024
Jane Chu (janechu) pushed a commit that referenced this pull request Jun 10, 2024
* fix(combobox): close the combobox even if there's no selection

* Change files

* pr feedback

* Bypass clicks on combobox input to allow indicator clicks (#1)

* remove redundant line

---------

Co-authored-by: John Kreitlow <863023+radium-v@users.noreply.github.com>
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.

6 participants