medly-components icon indicating copy to clipboard operation
medly-components copied to clipboard

bug: multi-select not closed on dropdown icon click

Open PulkitBanta opened this issue 3 years ago • 0 comments

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

  • Latest version as of 1 feb 2022 on Meldy components

Additional context

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

PulkitBanta avatar Feb 01 '22 11:02 PulkitBanta