Skip to content

Commit

Permalink
fix(item): error slot visible in Safari (#24579)
Browse files Browse the repository at this point in the history
Resolves #24575
  • Loading branch information
sean-perkins committed Jan 14, 2022
1 parent e00c9cb commit af01a8b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions core/src/components/item/item.scss
Expand Up @@ -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;
}
Expand Down Expand Up @@ -527,12 +533,6 @@ ion-ripple-effect {
z-index: 1;
}

::slotted([slot="error"]) {
display: none;

color: var(--highlight-color-invalid);
}


// Item: Reduced Motion
// --------------------------------------------------
Expand Down

0 comments on commit af01a8b

Please sign in to comment.