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

[Bug]: Multi-select combobox display first option upon typing new value instead of selected options #24205

Closed
2 tasks done
aalencar opened this issue Aug 3, 2022 · 5 comments

Comments

@aalencar
Copy link

aalencar commented Aug 3, 2022

Library

React / v8 (@fluentui/react)

System Info

System:
    OS: macOS 12.4
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 11.75 GB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Browsers:
    Chrome: 103.0.5060.134
    Edge: 103.0.1264.77
    Firefox: 101.0.1
    Safari: 15.5

Are you reporting Accessibility issue?

No response

Reproduction

https://codepen.io/aalencar/pen/ExEEPOy

Bug Description

Actual Behavior

  • Open multi-select ComboBox listbox
  • Type a new value and press Enter
  • The First element of the list is displayed instead of the previously selected values + typed one
Screen.Recording.2022-08-02.at.15.40.11.mov

Expected Behavior

  • After typing the new value display all selected values instead of only the first one in the list

Logs

No response

Requested priority

Normal

Products/sites affected

H2O.ai Wave

Are you willing to submit a PR to fix?

no

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.
@JustSlone
Copy link
Collaborator

@aalencar so the issue here is that "First Heading" is shown after hitting enter, instead of "test, Option C, Option D"?

CC: @microsoft/cxe-coastal

@aalencar
Copy link
Author

aalencar commented Nov 7, 2022

@JustSlone yes

@tudorpopams tudorpopams added the Fluent UI react (v8) Issues about @fluentui/react (v8) label Nov 7, 2022
@micahgodbolt
Copy link
Member

micahgodbolt commented Jan 24, 2023

This appears to now be fixed. Can you check again to see if you can still reproduce it @aalencar?

@aalencar
Copy link
Author

Seems to be working fine now. Thanks, guys!

multi.dropdown.repro.working.mov

@TristanWatanabe
Copy link
Member

Closing as issue has been confirmed as resolved

@microsoft microsoft locked as resolved and limited conversation to collaborators Feb 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants