Skip to content

[Bug]: Combobox menu not open on clear with 'x' #11397

@pmweeks98

Description

@pmweeks98

Package

carbon-components-react

Browser

Chrome, Firefox

Package version

7.4.1

React version

17.0.2

Description

When combobox has a selected item and the 'x' is used the combobox dropdown is not opened. The dropdown should be open with no filtering applied to it (input is null)

CodeSandbox example

https://codesandbox.io/s/ibm-carbon-combobox-issue-forked-nloh9b?file=/src/index.js

Steps to reproduce

Sandbox shamelessly copied from another issue

  1. Select an item for either of the two comboboxes
  2. Click the 'x' on the combobox

Combobox is focused but the dropdown is not opened. This is different to when using Ctrl + a and deleting the text manually

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions