Skip to content
Snippets Groups Projects
Unverified Commit 05596973 authored by Maxime FRIESS's avatar Maxime FRIESS :blue_heart:
Browse files

[ui] Skip + and - when tab on MultiProductCountInput

parent 978126b4
Branches
Tags
No related merge requests found
Pipeline #65987 passed with stages
in 3 minutes and 21 seconds
......@@ -61,7 +61,7 @@ const MultiProductCountItem = ({ product, filterCategory, filterName, countZero,
: ''}
<Grid container style={{ justifyContent: "center" }}>
<Grid item className={classes.rows}>
<IconButton aria-label="sub" onClick={(e) => { addCount(e.shiftKey ? -10 : -1) }}>
<IconButton aria-label="sub" onClick={(e) => { addCount(e.shiftKey ? -10 : -1) }} tabIndex="-1">
<RemoveIcon />
</IconButton>
</Grid>
......@@ -91,7 +91,7 @@ const MultiProductCountItem = ({ product, filterCategory, filterName, countZero,
</Grid>
</Grid>
<Grid item className={classes.rows}>
<IconButton aria-label="add" onClick={(e) => { addCount(e.shiftKey ? 10 : 1) }}>
<IconButton aria-label="add" onClick={(e) => { addCount(e.shiftKey ? 10 : 1) }} tabIndex="-1">
<AddIcon />
</IconButton>
</Grid>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment