From c7aeeb8b8cbccde36fa2b16b7259c4575686d1cd Mon Sep 17 00:00:00 2001 From: Matt Sherman Date: Mon, 1 Jun 2020 14:25:08 -0400 Subject: [PATCH] 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) --- .../packages/components/src/select-control/list.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/woocommerce-admin/packages/components/src/select-control/list.js b/plugins/woocommerce-admin/packages/components/src/select-control/list.js index 734e7993ac7..26a1a73a015 100644 --- a/plugins/woocommerce-admin/packages/components/src/select-control/list.js +++ b/plugins/woocommerce-admin/packages/components/src/select-control/list.js @@ -167,6 +167,7 @@ class List extends Component { id={ listboxId } role="listbox" className={ listboxClasses } + tabIndex="-1" > { options.map( ( option, index ) => (