Animating-Hamburger-Icons icon indicating copy to clipboard operation
Animating-Hamburger-Icons copied to clipboard

htx version doesn't transition properly

Open dlewand691 opened this issue 7 years ago • 1 comments

When using the 'htx' version, the top and bottom bars just rotate immediately instead of moving down to the center as expected. When removing the class, the center bar appears immediately as well. Attaching a quick screen recording for reference. screenflow

dlewand691 avatar Mar 27 '17 17:03 dlewand691

As it turns out, it is a problem with a css autoprefixer. For some reason it changes, e.g. transition: top, transform to transition: top, transform, -webkit-transform, which in return breaks the animation.

https://github.com/postcss/autoprefixer/issues/617

Either don't use the autoprefixer or include the style.css instead of the Sass files. Both kinda sucks...

HorstFreigang avatar Jun 28 '17 09:06 HorstFreigang