From 44d80563d386bbcfbad4ebf5809604e54ace1e51 Mon Sep 17 00:00:00 2001 From: Julie Wongbandue Date: Thu, 6 Apr 2023 13:49:46 -0400 Subject: [PATCH] Remove hidden input from tabindex --- src/components/inputs/FileUpload/FileUpload.style.ts | 3 ++- src/components/inputs/FileUpload/FileUpload.tsx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/inputs/FileUpload/FileUpload.style.ts b/src/components/inputs/FileUpload/FileUpload.style.ts index 4df061e6c..e637dcb9c 100755 --- a/src/components/inputs/FileUpload/FileUpload.style.ts +++ b/src/components/inputs/FileUpload/FileUpload.style.ts @@ -1,6 +1,7 @@ import styled from 'styled-components'; +import { IrisInputProps } from '../../../utils'; -export const Hidden = styled.input` +export const Hidden = styled.input` overflow: hidden; position: absolute; z-index: -1; diff --git a/src/components/inputs/FileUpload/FileUpload.tsx b/src/components/inputs/FileUpload/FileUpload.tsx index 49a794db5..a5cf53dec 100755 --- a/src/components/inputs/FileUpload/FileUpload.tsx +++ b/src/components/inputs/FileUpload/FileUpload.tsx @@ -32,6 +32,7 @@ function FileUploadComponent({ {...props} >