[bugfix] GoodsAction: should have tabindex
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
border-left-width: 1px;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: @goods-action-icon-active-color;
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ function GoodsActionIcon(
|
||||
return (
|
||||
<div
|
||||
role="button"
|
||||
tabindex="0"
|
||||
class={[bem(), 'van-hairline']}
|
||||
onClick={onClick}
|
||||
{...inherit(ctx)}
|
||||
|
||||
Reference in New Issue
Block a user