carbon icon indicating copy to clipboard operation
carbon copied to clipboard

[Bug]: FilterableMultiSelect onMenuChange not called on click outside menu

Open gi opened this issue 7 months ago • 0 comments

Package

@carbon/react

Browser

Chrome

Package version

1.57.0

React version

v16.14.0

Description

When clicking outside the menu when opened, the onMenuChange callback is not fired with the next opened state.

The change came between de133bea and 5f35edd6 when FilterableMultiSelect.js was renamed to FilterableMultiSelect.tsx.

The Downshift component had an onOuterClick prop set to handleOnOuterClick which called handleOnMenuChange.

Reproduction/example

TBD

Steps to reproduce

TBD

Suggested Severity

Severity 2 = User cannot complete task, and/or no workaround within the user experience of a given component.

Application/PAL

No response

Code of Conduct

gi avatar Jun 28 '24 21:06 gi