.animate() when used with large groups of elements is not "in sync"
|Reported by:||gnarf||Owned by:|
Brought up by polyrhythmic in IRC - and also here: http://www.splashnology.com/blog/jquery/237.html
A simple test case : http://jsfiddle.net/gnarf/GfUZf/
The internal jQuery.fx.custom() assigns jQuery.now() to each elements animation as its startTime, which as the ms add up to calculate start/end positions, creates a "drifting" effect on the large animation.
https://github.com/gnarf37/jquery/commits/animate_fix proposes one solution to this - allowing (and defaulting to) a synchronized startTime that gets passed down the line via the "speed" object (which becomes this.options in the .fx)
Change History (4)
comment:1 follow-up: ↓ 2 Changed 6 years ago by ajpiano
- Component changed from unfiled to effects
- Status changed from new to open
comment:3 Changed 6 years ago by snover
- Milestone changed from 1.next to 1.6
- Priority changed from undecided to blocker