Skip to content

Commit c985779

Browse files
committed
fix(input): ensure hover style does not apply when readonly or focused
1 parent 26f52c1 commit c985779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/input/themes/shared/input.fluent.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ $theme: $fluent;
118118
}
119119
}
120120

121-
:host(:not([readonly]):hover) {
121+
:host(:not([readonly], :focus-within):hover) {
122122
[part^='container'] {
123123
&::before {
124124
// The color: here is the actual box-shadow color. If we don't provide color-value to the shadow it

0 commit comments

Comments
 (0)