Rendering the Dropdown component emits a console warning about the tabIndex prop on a nested ListBoxField component.
carbon-componentscarbon-components-reactDescribe in detail the issue you're having.
Rendering the Dropdown component emits a console warning about the tabIndex prop on a nested ListBoxField component.
Is this issue related to a specific component?
Dropdown
What did you expect to happen? What happened instead? What would you like to
see changed?
No prop type warning that is outside my control.
What browser are you working in?
Chrome
What version of the Carbon Design System are you using?
carbon-components 10.4.1
carbon-components-react 7.4.1
What offering/product do you work on? Any pressing ship or release dates we
should be aware of?
Render a Dropdown component.
Please create a reduced test case in CodeSandbox
https://codesandbox.io/s/codesandbox-shklr
Console warning:
Warning: Failed prop type: Invalid prop `tabIndex` of value `0` supplied to `ListBoxField`, expected one of [null,null].
in ListBoxField (created by Downshift)
in Downshift (created by Dropdown)
in div (created by Dropdown)
in Dropdown (created by App)
in div (created by App)
in App
Hey @austinbruch just a heads up -- I addressed this in PR #3425 but it wasn't automatically closed out because I didn't reference this issue number correctly in my desc 馃槆
Thanks, Jen.
Most helpful comment
Hey @austinbruch just a heads up -- I addressed this in PR #3425 but it wasn't automatically closed out because I didn't reference this issue number correctly in my desc 馃槆