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:
1 parent
a1ed1b6a7f
commit
e6b5859af2
2 files changed
+7
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/admin-ui": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
feat(admin-ui): Make number input increment/decrement buttons not tabbable-to
|
||||||
@@ -139,6 +139,7 @@ const InputField = React.forwardRef<HTMLInputElement, InputProps>(
|
|||||||
onMouseDown={(e) => e.preventDefault()}
|
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"
|
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"
|
type="button"
|
||||||
|
tabIndex={-1}
|
||||||
>
|
>
|
||||||
<MinusIcon size={16} />
|
<MinusIcon size={16} />
|
||||||
</button>
|
</button>
|
||||||
@@ -147,6 +148,7 @@ const InputField = React.forwardRef<HTMLInputElement, InputProps>(
|
|||||||
onClick={onNumberIncrement}
|
onClick={onNumberIncrement}
|
||||||
className="text-grey-50 hover:bg-grey-10 focus:bg-grey-20 rounded-soft h-4 w-4 cursor-pointer outline-none"
|
className="text-grey-50 hover:bg-grey-10 focus:bg-grey-20 rounded-soft h-4 w-4 cursor-pointer outline-none"
|
||||||
type="button"
|
type="button"
|
||||||
|
tabIndex={-1}
|
||||||
>
|
>
|
||||||
<PlusIcon size={16} />
|
<PlusIcon size={16} />
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in new issue
Block a user