Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10188 closed bug (worksforme)

Wrong value in the first step in .animate() in 1.4.4

Reported by: [email protected] Owned by: [email protected]
Priority: low Milestone: None
Component: effects Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:


I am animating a list of images like this: $(element).animate({

left: left + 'px' },{ duration: 400, easing: 'linear', queue: false, complete: snap, step: function(now, fx) { for debug console.log('>>>>>>>'+($(this).position().left)); }


The element is like this: <div class="myscrollList" style="position: absolute; display: inline; top: 0px; left: -10680.7px; width: 14855px; height: 100%;">

The bug is sometimes the left value (which should be between -10680.7px and -11680.7px) is set to 0 in the first step, and therefore make the whole animation wrong and unexpected images flipped through.

Change History (5)

comment:1 Changed 11 years ago by anonymous

If I change to use jquery 1.0 then the bug will *not* be observed.

comment:2 Changed 11 years ago by Rick Waldron

Component: unfiledeffects
Owner: set to [email protected]
Status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

comment:3 Changed 11 years ago by [email protected]

Status: pendingnew

Test with 1.6.2 and the bug doesn't show. So this is only for 1.4.4. Please close the bug then.

Thank you very much!

comment:4 Changed 11 years ago by Rick Waldron

Resolution: worksforme
Status: newclosed

comment:5 Changed 11 years ago by Rick Waldron

Priority: undecidedlow
Note: See TracTickets for help on using tickets.