ComboBox regression in 10.10 (carbon-components-react 7.10)
See original GitHub issueWhat package(s) are you using?
-
carbon-components
-
carbon-components-react
Detailed description
Describe in detail the issue you’re having.
Unable to type in text input field of a controlled ComboBox after updating to Carbon 10.10 (carbon-components-react 7.10).
Is this issue related to a specific component?
ComboBox
What did you expect to happen? What happened instead? What would you like to see changed?
Typing in the ComboBox input field should display the typed text. Clicking the ‘x’ on the right side of the ComboBox should clear the selected item.
Clicking the ‘x’ doesn’t appear to do anything, and I am unable to type in the input field.
This was working as expected in 10.9.x/7.9.x
What browser are you working in?
latest Chrome/Firefox/Safari on macOS Catalina
What version of the Carbon Design System are you using?
carbon-components-react 7.10.x carbon-components 10.10.x
What offering/product do you work on? Any pressing ship or release dates we should be aware of?
Steps to reproduce the issue
A:
- Click in the ComboBox input field
- Type some text
- Expect to see the typed text displayed
B:
- Click the ‘x’ on the ComboBox
- Expect to see the selected item cleared
Please create a reduced test case in CodeSandbox
carbon-components-react 7.9.3 working as expected https://codesandbox.io/s/gracious-satoshi-jn8z0
carbon-components-react 7.10.0 regression (also tested with latest version) https://codesandbox.io/s/jolly-joliot-45t3t
Additional information
- Screenshots or code
expected behaviour ^^^
- Notes
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
Reverting this change restores the previous behaviour: https://github.com/carbon-design-system/carbon/commit/c4c0da057006bd379ebc5956944c9eec199651db#diff-ac9cf04f95773fcfe4d2132cd4440753L202
Confirmed this is fixed in 10.11.0/7.11.0, thanks! 🎉