Do not allow focus on Country and State input hidden fields (https://github.com/woocommerce/woocommerce-blocks/pull/1842)

This commit is contained in:
Albert Juhé Lluveras 2020-03-04 15:35:18 +01:00 committed by GitHub
parent 1b69ff666e
commit e2f769eedf
2 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ const CountryInput = ( {
padding: '0',
position: 'absolute',
} }
tabIndex={ -1 }
/>
) }
</>

View File

@ -79,6 +79,7 @@ const StateInput = ( {
padding: '0',
position: 'absolute',
} }
tabIndex={ -1 }
/>
) }
</>