Skip to content

Commit 5c19c59

Browse files
JesmoDeviOvergaard
authored andcommitted
fixed disabled color on safari
1 parent f0c2c7d commit 5c19c59

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/uui-input/lib/uui-input.element.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ export class UUIInputElement extends FormControlMixin(
8989
);
9090
9191
color: var(--uui-color-disabled-contrast);
92+
-webkit-text-fill-color: var(
93+
--uui-color-disabled-contrast
94+
); /* required on Safari and IOS */
95+
opacity: 1; /* required on iOS */
9296
}
9397
:host([readonly]) {
9498
background-color: var(

0 commit comments

Comments
 (0)