feat(admin-ui): Make number input increment/decrement buttons not tabbable-to (#3645)

* Make number input inc./dec. buttons not tabbable to

* Create changeset
This commit is contained in:
Rares Stefan
2023-03-30 18:18:41 +02:00
committed by GitHub
parent a1ed1b6a7f
commit e6b5859af2
2 changed files with 7 additions and 0 deletions
@@ -139,6 +139,7 @@ const InputField = React.forwardRef<HTMLInputElement, InputProps>(
onMouseDown={(e) => e.preventDefault()}
className="text-grey-50 hover:bg-grey-10 focus:bg-grey-20 rounded-soft mr-2 h-4 w-4 cursor-pointer outline-none"
type="button"
tabIndex={-1}
>
<MinusIcon size={16} />
</button>
@@ -147,6 +148,7 @@ const InputField = React.forwardRef<HTMLInputElement, InputProps>(
onClick={onNumberIncrement}
className="text-grey-50 hover:bg-grey-10 focus:bg-grey-20 rounded-soft h-4 w-4 cursor-pointer outline-none"
type="button"
tabIndex={-1}
>
<PlusIcon size={16} />
</button>