[bugfix] GoodsAction: should have tabindex

This commit is contained in:
陈嘉涵
2019-05-25 12:33:52 +08:00
parent 06cf2f3f57
commit 38afa3dffd
5 changed files with 13 additions and 8 deletions
+4
View File
@@ -16,6 +16,10 @@
border-left-width: 1px;
}
&:focus {
outline: none;
}
&:active {
background-color: @goods-action-icon-active-color;
}
+1
View File
@@ -30,6 +30,7 @@ function GoodsActionIcon(
return (
<div
role="button"
tabindex="0"
class={[bem(), 'van-hairline']}
onClick={onClick}
{...inherit(ctx)}