When setting the invalid state on an inline filterable multiselect component, two overlapping red borders are rendered. This occurs when at least one option is selected and the dropdown listbox is closed. I believe there should only be a single border.
Package
@carbon/react, @carbon/styles
Browser
Chrome, Firefox
Package version
v1.8.0
React version
^17.0.0
Description
When setting the invalid state on an inline filterable multiselect component, two overlapping red borders are rendered. This occurs when at least one option is selected and the dropdown listbox is closed. I believe there should only be a single border.
Reproduction/example
https://stackblitz.com/edit/github-yxfgii?file=src/App.jsx
Steps to reproduce
Here's how the component is configure to display this issue:
And then select at least on option in the component.
Code of Conduct