carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.72k stars 1.79k forks source link

[Bug]: Clicking outside the filterable multiselect does not looses focus in one go in open state #16877

Open riddhybansal opened 2 months ago

riddhybansal commented 2 months ago

Package

@carbon/react

Browser

No response

Package version

v1.60.0

React version

No response

Description

Clicking outside the filterable multiselect does not looses focus in one go in open state, it first closes the menu and then clicking again loses the focus.

Reproduction/example

https://react.carbondesignsystem.com/?path=/story/components-multiselect--filterable

Steps to reproduce

Suggested Severity

Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.

Application/PAL

No response

Code of Conduct

guidari commented 2 months ago

It wors on version 1.56.0, here it is the deploy preview. It's worth to take a look at the changes made in 1.57.0 that affected that behavior.