Skip to content

Commit

Permalink
CSS - fixed placeholder transition when input has text (non-empty) me…
Browse files Browse the repository at this point in the history
…aning the placeholder should become hidden
  • Loading branch information
yairEO committed May 11, 2024
1 parent 3454f90 commit d58d6bb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/tagify.scss
Expand Up @@ -440,10 +440,6 @@
// disabled the below rule for the above reason:
// display: flex; // https://bugzilla.mozilla.org/show_bug.cgi?id=904846#c45
}

&::before{
position: static;
}
}

&:focus{
Expand Down Expand Up @@ -602,6 +598,7 @@
#{ $self }__input{
&::before{
@include placeholder;
// position: static;
display: inline-block;
width: auto;

Expand Down

0 comments on commit d58d6bb

Please sign in to comment.