[Accessibility] No class added to multi-value
on keyboard nav
#5951
Labels
issue/bug-unconfirmed
Issues that describe a bug that hasn't been confirmed by a maintainer yet
Bug
Behaviour
Selects with
unstyled isMulti classNamePrefix="prefix"
do not set*--is-focused
or*--is-selected
classes onmulti-value
components when keyboard navigating.The
isFocused
flag works as expected when using thestyle={{multiValue: ...}}
prop. However for those of us using css files this method requires splitting styles between inline and file, which has a negative impact on readability.Expected behaviour
Set
*--is-focused
,*--is-selected
or similar onmulti-value
elements and their children when keyboard navigating.Version
Code
Repro
multi-value
elements.unstyled
prop and repeat the previous step. Notice that a blush is added to the remove button of keyboard navigatedmulti-value
s.unstyled
prop and add the followingstyles
prop. Notice that react-select sets the background on keyboard navigation correctlyThe text was updated successfully, but these errors were encountered: