Closed turizoft closed 6 years ago
Helps fixing a bug where browser won't parse quoted animation names. By default animation names should not contain quotes.
https://developer.mozilla.org/es/docs/Web/CSS/animation-name
Example of code generated by this library:
.fadeLeft-enter-active, .fadeInLeft { animation-name: "fadeInLeft"; }
This will be marked as invalid inChrome Version 67.0.3396.99 (Official Build) (64-bit)
Chrome Version 67.0.3396.99 (Official Build) (64-bit)
This PR adds the quoteAnimationNames variable, which will generate unquoted animation names when set as false. It is set as true for backwards compatibility.
quoteAnimationNames
false
true
Usage:
$animationDuration: 600ms; $quoteAnimationNames: false; @import 'vue2-animate/src/sass/vue2-animate';
Related Issues
Chromium Forums
how about we set $quoteAnimationNames to false as default and I push a minor version to 2.1.0?
$quoteAnimationNames
2.1.0
I guess it won't break much B/C.
Helps fixing a bug where browser won't parse quoted animation names. By default animation names should not contain quotes.
https://developer.mozilla.org/es/docs/Web/CSS/animation-name
Example of code generated by this library:
This will be marked as invalid in
Chrome Version 67.0.3396.99 (Official Build) (64-bit)
This PR adds the
quoteAnimationNames
variable, which will generate unquoted animation names when set asfalse
. It is set astrue
for backwards compatibility.Usage:
Related Issues
Chromium Forums