Skip to content

[Bug]: Combobox Virtualizer: Selected option can be changed by pressing Enter on the last item #35961

@it950

Description

@it950

Component

Combobox

Package version

Combobox Virtualizer in fluent ui v9 doc

React version

Combobox Virtualizer in fluent ui v9 doc

Environment

Combobox Virtualizer in fluent ui v9 doc

Current Behavior

Select the last option from the dropdown list, then press the Enter key twice in the input box. The selected option will change unexpectedly

Expected Behavior

The input value should not be changed when pressing Enter in the input box if the last option is selected

Reproduction

https://storybooks.fluentui.dev/react/?path=/docs/components-combobox--docs

Steps to reproduce

  1. Select the last option from the dropdown list.
  2. Press Enter twice in the input field.
  3. Observe that the selected option changes.

Image

Are you reporting an Accessibility issue?

None

Suggested severity

Urgent - No workaround and Products/sites are affected

Products/sites affected

https://storybooks.fluentui.dev/react/?path=/docs/components-combobox--docs

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions