Skip to content

bug: multi-select not closed on dropdown icon click #583

@PulkitBanta

Description

@PulkitBanta

Describe the bug

When you have more than one multi-select on a screen and click on the chevron (dropdown) icon to open multiple multi-selects then all of them will open but the focus will be on the one opened with click on input field rather than chevron icon.

To Reproduce

Provide step-by-step instructions to reproduce the bug:

  1. Go to Multi-select
  2. Click on chevron icon (dropdown) of multiple multi-select
  3. See error

Expected behavior

When clicked outside of a multi-select including the chevron icon other multi-select should lost their focus and should close

Screenshots

Screenshot 2022-02-01 at 4 49 43 PM

Package versions

Additional context

This only happens when multi-select is opened by clicking on chevron icon and not on the click of input field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions