Skip to content

Commit

Permalink
fix(Filename): remove tabindex when status is complete (#12105)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tw15egan and kodiakhq[bot] committed Sep 16, 2022
1 parent 900a9be commit 7ebb737
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/react/src/components/FileUploader/Filename.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ function Filename({ iconDescription, status, invalid, ...rest }) {
<CheckmarkFilled
aria-label={iconDescription}
className={`${prefix}--file-complete`}
{...rest}>
{...rest}
tabIndex={null}>
{iconDescription && <title>{iconDescription}</title>}
</CheckmarkFilled>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@
}

.#{$prefix}--file__state-container .#{$prefix}--file-complete {
cursor: pointer;
fill: $interactive;

&:focus {
Expand Down

0 comments on commit 7ebb737

Please sign in to comment.