Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with "bottom" #125

Open
asoyfer opened this issue May 31, 2013 · 2 comments
Open

Issue with "bottom" #125

asoyfer opened this issue May 31, 2013 · 2 comments

Comments

@asoyfer
Copy link

asoyfer commented May 31, 2013

Hi Ben,

Posted this on the other site because I wasn't sure if it was a bug but I guess it is. I have a div positioned absolutely with "bottom" and "left" set in a pixel value. Bottom is set to 100px. When I try to .animate({bottom: 150}) my expectation is that the element will move up 50 more pixels but it moves down and its "bottom" is now set to 50px. Calling .animate({bottom: 150}) again moves it up to bottom: 100 and calling it again will move it back down. I thought this works like jquery animate?

Thanks
Anatoly

@mjsarfatti
Copy link

Same issue here. It looks like the bottom is animated to the difference between the values.

My div is set with bottom to 202px, and if I try to animate it to 240px, it instead pulls it down to 38px. Really weird...

@isayeter
Copy link

same issue, any update ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants