[Bug]: Combobox triggering onChange
with previous value before updating the user selected value
#18386
Open
2 tasks done
Labels
Package
@carbon/react
Browser
Chrome
Package version
V11
React version
v18
Description
When we use keyboard to interact with the combobox and select an item and after that we select another item again, it is calling the
onChange
2 timesonChange
fired with the previous selected valueonChange
fired with newly selected valueReproduction/example
https://stackblitz.com/edit/github-ultftvd8?file=src%2FApp.jsx&preset=node=
Steps to reproduce
specifically use keyboard interactions to reproduce this:
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
The text was updated successfully, but these errors were encountered: