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

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

Conversation

zpeterson
Copy link
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 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

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

@vnbaaij
Copy link
Contributor

vnbaaij commented Mar 14, 2024

@bheston, @radium-v and @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!

Copy link
Collaborator

@radium-v radium-v left a comment

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

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

@zpeterson zpeterson requested a review from radium-v March 27, 2024 14:50
@radium-v radium-v force-pushed the users/zoepeterson/close-combobox-no-selection branch from 23fcbcf to ed5923b Compare March 29, 2024 22:04
@joriverm
Copy link

joriverm commented Apr 9, 2024

@KingOfTac , @chrisdholt , @EisenbergEffect : any updates on this?

@chrisdholt
Copy link
Member

@scomea @KingOfTac any thoughts here?

@scomea
Copy link
Collaborator

scomea commented Apr 9, 2024

@scomea @KingOfTac any thoughts here?

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

@chrisdholt chrisdholt merged commit 543a69c into microsoft:master Apr 24, 2024
5 checks passed
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