jquery-animate-enhanced icon indicating copy to clipboard operation
jquery-animate-enhanced copied to clipboard

Issue with "bottom"

Open asoyfer opened this issue 11 years ago • 2 comments

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

asoyfer avatar May 31 '13 02:05 asoyfer

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...

mjsarfatti avatar Feb 09 '14 06:02 mjsarfatti

same issue, any update ?

isayeter avatar Feb 29 '16 19:02 isayeter