From 17dca9486a8ec28de209d5c07b7dfe078f07a067 Mon Sep 17 00:00:00 2001 From: TJ Egan Date: Thu, 15 Sep 2022 15:40:29 -0400 Subject: [PATCH] fix(Filename): remove tabindex when status is complete --- packages/react/src/components/FileUploader/Filename.js | 3 ++- .../styles/scss/components/file-uploader/_file-uploader.scss | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/src/components/FileUploader/Filename.js b/packages/react/src/components/FileUploader/Filename.js index b6892eb7e726..6ca4875a7e35 100644 --- a/packages/react/src/components/FileUploader/Filename.js +++ b/packages/react/src/components/FileUploader/Filename.js @@ -36,7 +36,8 @@ function Filename({ iconDescription, status, invalid, ...rest }) { + {...rest} + tabIndex={null}> {iconDescription && {iconDescription}} ); diff --git a/packages/styles/scss/components/file-uploader/_file-uploader.scss b/packages/styles/scss/components/file-uploader/_file-uploader.scss index d9b8ac4a4e84..abd7074c7996 100644 --- a/packages/styles/scss/components/file-uploader/_file-uploader.scss +++ b/packages/styles/scss/components/file-uploader/_file-uploader.scss @@ -271,7 +271,6 @@ } .#{$prefix}--file__state-container .#{$prefix}--file-complete { - cursor: pointer; fill: $interactive; &:focus {