Skip to content

Commit

Permalink
fix(floatinglabel): placeholder should be transparent if floating lab…
Browse files Browse the repository at this point in the history
…el is not focused
  • Loading branch information
TeyaVes authored and Juveniel committed Apr 7, 2022
1 parent dfbfbc6 commit 2192dab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/default/scss/floating-label/_layout.scss
Expand Up @@ -61,7 +61,8 @@
transform: scale( $floating-label-focus-scale );
}

&.k-state-empty:not(.k-state-focused) ::placeholder {
&.k-state-empty:not(.k-state-focused) ::placeholder,
&.k-empty:not(.k-focus):not(:focus-within) ::placeholder {
color: transparent;
}

Expand Down

0 comments on commit 2192dab

Please sign in to comment.