[Bug]: Toggling the same option in ComboBox dropdown doesn't always trigger the onChange event #18361
Open
1 of 2 tasks
Labels
adopter: strategic-product
Work-stream that directly effects the Product-led Growth initiative.
component: combobox
role: dev 🤖
severity: 3
https://ibm.biz/carbon-severity
type: bug 🐛
Package
@carbon/react
Browser
Chrome
Package version
1.72.0
React version
18.3.1
Description
Try to select the same option in ComboBox multiple time, onChange event is not getting called on every toggle.
I think, similar kind of issue already registered here - #18286
Reproduction/example
https://codesandbox.io/p/sandbox/nlzr7m
Steps to reproduce
You select one option from the dropdown, and then toggle it, that option will be deselected. After that if you try to select that option again, no such onChange event gets triggered even though the option will be selected.
You need to clear the selected item by clicking the cross icon to get it selected again properly.
Suggested Severity
Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.
Application/PAL
IBM OpenPages
Code of Conduct
The text was updated successfully, but these errors were encountered: