vkalinichev / postcss-rtl

PostCSS plugin for RTL-adaptivity
MIT License
172 stars 33 forks source link

[bug] doesn't handle multiple animation correctly #61

Open vybu opened 4 years ago

vybu commented 4 years ago

Seems like if there is 2 animations given it doesn't correctly replace second animations name. animation: a 1s, b 1s; -> animation: a-ltr 1s, b 1s; notice how b is missing -ltr

.loader {
  animation: load6 1.7s infinite ease, spinner 1.7s infinite ease;
}

@keyframes load6 {
...
}

@keyframes spinner {
...
}

The output is

[dir=ltr] ._26uJz {
  animation: _1kAQA-ltr 1.7s ease infinite,c7O-P 1.7s ease infinite;
}

@keyframes _1kAQA-ltr {
...
}

@keyframes c7O-P-ltr {
...
}
vkalinichev commented 4 years ago

@vybu I could not reproduce it but it seems to have found a problem. Try upgrading to 1.7.3

Jordan-Hall commented 4 years ago

@vkalinichev i'm getting the same with 1.7.3 and having issue with missing properties such as border on 1.7.3