Skip to content

Commit

Permalink
fix(pie-radio): DSW-000 ensure focus ring only appears on keyboard fo…
Browse files Browse the repository at this point in the history
…cus (#2183)

* fix(pie-radio): DSW-000 ensure focus ring only appears on keyboard focus

* changeset
  • Loading branch information
jamieomaguire authored Jan 31, 2025
1 parent be05fc9 commit 601b98c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/large-coins-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@justeattakeaway/pie-radio": patch
---

[Fixed] - Ensure focus ring does not appear on click
2 changes: 1 addition & 1 deletion packages/components/pie-radio/src/radio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
}
}

:host(:focus) {
:host(:focus-visible) {
outline: none;

.c-radio .c-radio-input {
Expand Down

0 comments on commit 601b98c

Please sign in to comment.