microsoft / microsoft/fluentui

[Bug]: Combobox doesn't close when arrow is clicked

Open
#30,693 5 comments 0 reactions 1 assignee View on GitHub

@chrisdholt is already working on this.

Since Mar 4, 2024.

Resolution: Soft Close web-components
Dominant language
TypeScript
Stars
20.3k
Forks
2.9k
Avg merge
2d 9h
Merged PRs (30d)
46

Description

Library

Web Components (@fluentui/web-components)

System Info
System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz
    Memory: 16.78 GB / 31.20 GB
  Browsers:
    Edge: Chromium (122.0.2365.66)
    Internet Explorer: 11.0.19041.3636

the command lies, I use Firefox 123.0 (64-bit) as my main browser but this can be replicated on the others too

Are you reporting Accessibility issue?

None

Reproduction

https://learn.microsoft.com/en-us/fluent-ui/web-components/components/combobox?pivots=typescript
its a basic fluent-combobox web component, so for short :

<h3>Default</h3>
<fluent-combobox placeholder="Select a graphics card">
  <fluent-option value="1">GTX 1060</fluent-option>
  <fluent-option value="2">GTX 1070</fluent-option>
  <fluent-option value="3">GTX 1080</fluent-option>
  <fluent-option value="4" disabled>GTX 1090</fluent-option>
</fluent-combobox>

www_screencapture_com_2024-3-4_09_02.webm

Bug Description

Actual Behavior

Combobox doesn't close

Expected Behavior

Combobox to close

Logs

No response

Requested priority

High

Products/sites affected

client blazor application that is using Fluent Blazor

Are you willing to submit a PR to fix?

yes

Validations
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.