transform icon indicating copy to clipboard operation
transform copied to clipboard

Can't animate skew or translate in jQuery 1.8.

Open rconnamacher opened this issue 13 years ago • 2 comments

In jQuery 1.8, animation of skew and translate are broken. (Animation of scale seems to work, however.)

Setting by $(selector).css({skewY: '10deg'}) works, but animating by $(selector).animate({skewY: '10deg'}) causes the following error:

jquery-1.8.2.js:583 TypeError: 'undefined' is not an object (evaluating 'obj.length')

This appears to then kill the animation queue, as subsequent animations to that element don't fire.

jsFiddle reduced case of broken skew animation:

http://jsfiddle.net/richcon/UkAfD/

rconnamacher avatar Oct 02 '12 19:10 rconnamacher

By the way, I tried manually applying the patch from issue #40, "Plugin breaks in jQuery 1.8+, simple fix", and it didn't effect this issue.

rconnamacher avatar Oct 02 '12 19:10 rconnamacher

I added jQuery 1.8 support in a pull request. You can your example here:

http://jsfiddle.net/zhMyg/1/

yuxhuang avatar Dec 19 '12 18:12 yuxhuang