Skip to content

Commit

Permalink
fix(floating-label): apply correct transitioning and alignment in rtl…
Browse files Browse the repository at this point in the history
… direction
  • Loading branch information
epetrow authored and joneff committed Mar 21, 2022
1 parent fdebefa commit f4e423d
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 @@ -70,6 +70,7 @@

> .k-label {
transform-origin: right center;
transition: transform $floating-label-transition, color $floating-label-transition, top $floating-label-transition, right $floating-label-transition;
}

&.k-state-empty,
Expand All @@ -86,7 +87,7 @@
left: auto;
right: $floating-label-focus-offset-x;
}
&:focus-within {
&:focus-within > .k-label {
left: auto;
right: $floating-label-focus-offset-x;
}
Expand Down

0 comments on commit f4e423d

Please sign in to comment.