Comments (4)
In _function applyCSSTransition(e, property, duration, ... i changed:
offsetPosition = value - cleanPropertyValue;
To:
if (property=='bottom' || property=='right')
offsetPosition = value;
else
offsetPosition = value - cleanPropertyValue;
Horrible hack, untested, didn't investigate anything properly - just needed a solution. BEWARE!
from jquery-animate-enhanced.
Same problem animating from NEGATIVE on 'bottom'.
from jquery-animate-enhanced.
Thanks for posting that fix, hitchhiker. It makes the "right" property animate as expected.
I've run into this problem on multiple projects now. Ben, would you please fix this?
In case anyone would like to know, to apply hitchhiker's fix to the current minified version, you change
s=f-p;
to
s=(b=='bottom'||b=='right')?f:(f-p);
from jquery-animate-enhanced.
thanks ! this works for "bottom" too !
from jquery-animate-enhanced.
Related Issues (20)
- Support for IE9+? HOT 1
- Fails to use percentage values correctly, interpreting it as pixels instead
- fadeIn() breaks initial opacity value
- jquery easing HOT 1
- animate(pos, options) doesn't seem to be supported HOT 1
- slidetoggle doesn't use css HOT 2
- [enhancement] Add missing bower.json. HOT 1
- Uncaught TypeError: Cannot read property 'tagName' of undefined HOT 1
- Safari 5.1.7 on Windows no acceleration
- box-shadow
- Trying to animate top/left without modifying the offset moves the offset to zero HOT 5
- Please use git tags for bower clients HOT 3
- Issue with Left 0 HOT 6
- :animate filter does not work as native one
- Bower install issue HOT 2
- Link Broken HOT 1
- Doesn't seem to work well with jquery.ui datepicker
- fadeIn/fadeOut/animate with opacity doesn't work on Chromium for Android
- fadeIn wipes transform translate3D on element (breaks swipebox)
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-enhanced.