Comments (8)
The plugin produces weird results for me too with Firefox 16.
from jquery-animate-css-rotate-scale.
The CSS value returned in javascript using this plugin on the line :
$(this).css('transform')
is now in "matrix" format for Firefox 16. It was in "deg" format before.
So it now creates a bug when the code attemps to replace the value :
$(this).css('transform',style.replace(/none|rotate([^)]*)/,'')+'rotate('+m[1]+rotateUnits+')');
from jquery-animate-css-rotate-scale.
Anyone know how to fix this?
from jquery-animate-css-rotate-scale.
You could either change the code to track the rotation / scaling units in its own variable rather than fetching and parsing the value of css('transform') or you could add support for converting the matrix back to rotation/scale info:
http://css-tricks.com/get-value-of-css-rotation-through-javascript/
http://stackoverflow.com/questions/8270612/get-element-moz-transformrotate-value-in-jquery
http://stackoverflow.com/questions/12897291/csstransform-return-wrong-value-rotate
Feel free to fork. I can't get to this fix right now.
from jquery-animate-css-rotate-scale.
Firefox 16 broke the animated transformations with this plugin indeed. On my project the scaled transform is applied twice, once with scale() and once with matrix().
I hope somebody will be able to fix this.
An alternative script can help others https://github.com/rstacruz/jquery.transit
but sadly it doesn't offer the "step" function, which I need.
from jquery-animate-css-rotate-scale.
I fixed the scaling portion of this problem, check my pull request. This should help all those using the quicksand plugin with the latest versions of jQuery in Firefox.
from jquery-animate-css-rotate-scale.
I have just pushed new code that should support Firefox 16. Let me know if you have further problems.
from jquery-animate-css-rotate-scale.
looks like it works again now
Thank you very much Zach
from jquery-animate-css-rotate-scale.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-animate-css-rotate-scale.