rstacruz / jquery.transit

Super-smooth CSS3 transformations and transitions for jQuery
http://ricostacruz.com/jquery.transit
7.29k stars 862 forks source link

Set transform:none after transforming to 0,0,0. #188

Open jkuss opened 10 years ago

jkuss commented 10 years ago

When using CSS transforms on Flash elements (Youtube embeds) in FireFox, the elements act erratically.

I am transitioning the elements into place on page load and when done, the final transform is 0,0,0. It would be nice if either by default or with a setting, this plugin made 0,0,0 change to 'none' when it's done.

This fixes the FF issue.

jasonhansel commented 10 years ago

:+1: Would fix some issues in FF for me. Specifically, Firefox sometimes has weird, off-by-one pixel errors on transformed elements, and it would be nice to avoid these where possible.