fix(item): error slot visible in Safari (#24579)

Resolves #24575
This commit is contained in:
Sean Perkins
2022-01-14 12:36:14 -05:00
committed by GitHub
parent e00c9cbd4c
commit af01a8b307

View File

@ -433,6 +433,12 @@ button, a {
display: none;
}
::slotted([slot="error"]) {
display: none;
color: var(--highlight-color-invalid);
}
:host(.item-interactive.ion-invalid) ::slotted([slot="error"]) {
display: block;
}
@ -527,12 +533,6 @@ ion-ripple-effect {
z-index: 1;
}
::slotted([slot="error"]) {
display: none;
color: var(--highlight-color-invalid);
}
// Item: Reduced Motion
// --------------------------------------------------