medly-components
medly-components copied to clipboard
bug: multi-select not closed on dropdown icon click
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:
- Go to Multi-select
- Click on
chevron icon
(dropdown) of multiple multi-select - 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

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.