Skip to content

Commit

Permalink
fix: Hides native focus outlines for drag handles (#3186)
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-kot authored Jan 14, 2025
1 parent f5f7e3d commit d46a1d8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/internal/components/drag-handle/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,15 @@
color: awsui.$color-text-interactive-hover;
}

&:focus {
outline: none;
text-decoration: none;
}

@include focus-visible.when-visible {
&:not(.hide-focus) {
@include styles.focus-highlight(0px);
}
&.hide-focus {
outline: none;
}
}
}

Expand Down

0 comments on commit d46a1d8

Please sign in to comment.