Set tabIndex on `SelectControl` wrapper div so that images and spans in options can be clicked on to select options in Firefox and Safari. (https://github.com/woocommerce/woocommerce-admin/pull/4474)

This commit is contained in:
Matt Sherman 2020-06-01 14:25:08 -04:00 committed by GitHub
parent 2c9b19521a
commit c7aeeb8b8c
1 changed files with 1 additions and 0 deletions

View File

@ -167,6 +167,7 @@ class List extends Component {
id={ listboxId } id={ listboxId }
role="listbox" role="listbox"
className={ listboxClasses } className={ listboxClasses }
tabIndex="-1"
> >
{ options.map( ( option, index ) => ( { options.map( ( option, index ) => (
<Button <Button