Skip to main content

Bug Tracker

Side navigation

#7532 closed bug (duplicate)

Opened November 16, 2010 02:47PM UTC

Closed November 16, 2010 07:54PM UTC

Last modified March 13, 2012 04:21PM UTC

jQuery 1.4.3 animation method behaves strangely when animated to left: over 10'000 px

Reported by: mail@ickata.net Owned by: mail@ickata.net
Priority: low Milestone: 1.5
Component: effects Version: 1.4.3
Keywords: animation left over 10000px Cc:
Blocked by: Blocking:
Description

Steps to reproduce:

1. Create one huge container (mine is 12200 pixels wide)

2. Fill it with images (to be more easy to observe the animation)

3. Set it's position to relative

4. Try to animate it to -10300 pixels

Expected behavior: animation is smooth and continuos

Observed: Container shakes strangely until reaching the desired left position.

Environment: All browsers (FF 3.6, IE 7+, Chrome)

jQuery versions: 1.4.3 and 1.4.4 . 1.4.2 works fine

I found this bug when creating a carousel with jcarousel plugin with 20 items, each one 606 pixels wide.

Attachments (0)
Change History (9)

Changed November 16, 2010 02:59PM UTC by addyosmani comment:1

_comment0: This sounds very much like an issue with the actual code implementation rather than a problem caused by jQuery core. [[BR]] \ Could you please submit a valid test case on jsFiddle.net that reproduces your issue so we can investigate further?. 1289919561229479
owner: → mail@ickata.net
status: newpending

This sounds very much like an issue with the actual code implementation rather than a problem caused by jQuery core.Could you please submit a valid test case on jsFiddle.net that reproduces your issue so we can investigate further?.

Changed November 16, 2010 03:29PM UTC by boushley comment:2

_comment0: Alright, I took the time to put together a valid fiddle and things appear to work just fine. http://jsfiddle.net/boushley/dgqsw/1289921618297961

Alright, I took the time to put together a valid fiddle and things appear to work just fine. http://jsfiddle.net/boushley/dgqsw/1/

Changed November 16, 2010 03:36PM UTC by addyosmani comment:3

component: unfiledeffects
keywords: → animation left over 10000px
priority: undecidedlow
resolution: → worksforme
status: pendingclosed

As boushley correctly points out this appears to be working fine. If you are doing something beyond what it in the above test case on jsFiddle and would like to re-open this ticket, please let us know.

Changed November 16, 2010 03:47PM UTC by anonymous comment:4

Hi, I changed a bit the code in jsfiddle so now the bug reproduces properly. The left position now changes 606 pixels on click. So you have to click a couple of times. And animation easing changed to 'swing'.

Changed November 16, 2010 03:52PM UTC by anonymous comment:5

Forgot to write the link: http://jsfiddle.net/dgqsw/6/

Changed November 16, 2010 03:55PM UTC by mail@ickata.net comment:6

No it's not working, please look here http://jsfiddle.net/dgqsw/6/

Changed November 16, 2010 07:53PM UTC by jitter comment:7

resolution: worksforme
status: closedreopened

Changed November 16, 2010 07:54PM UTC by jitter comment:8

resolution: → duplicate
status: reopenedclosed

Changed November 16, 2010 07:54PM UTC by jitter comment:9

Duplicate of #7193.