#10188 closed bug (worksforme)
Wrong value in the first step in .animate() in 1.4.4
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | effects | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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
comment:2 Changed 11 years ago by
Component: | unfiled → effects |
---|---|
Owner: | set to [email protected]… |
Status: | new → pending |
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
Status: | pending → new |
---|
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
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:5 Changed 11 years ago by
Priority: | undecided → low |
---|
If I change to use jquery 1.0 then the bug will *not* be observed.