#9074 closed bug (fixed)
Cannot animate position and opacity at same time
Reported by: | Owned by: | gnarf | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.6.1 |
Component: | effects | Version: | 1.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Including both a position (left or top) and opacity properties in an animate method, the position does not animate. Only the opacity animates, and at the end of the duration, the position immediately jumps to the new position property.
Change History (13)
comment:2 follow-up: 4 Changed 12 years ago by
Component: | unfiled → effects |
---|---|
Priority: | undecided → high |
Status: | new → open |
Confirmed. http://jsfiddle.net/timmywil/xHn9w/
comment:5 Changed 12 years ago by
Opacity seems to break animations using margin properties as well: http://jsfiddle.net/fparent/69eEL/
comment:8 Changed 12 years ago by
Owner: | set to gnarf |
---|---|
Status: | open → assigned |
comment:9 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Landing pull request 372. Test for numeric properties was using wrong variable. Fixes #9074.
More Details:
comment:10 Changed 12 years ago by
Milestone: | 1.next → 1.6.1 |
---|---|
Priority: | high → blocker |
comment:12 follow-up: 13 Changed 12 years ago by
For some reason, if you make opacity the first in your list of animated properties, it fixes the problem.
comment:13 Changed 12 years ago by
Replying to nicktheandroid@…:
For some reason, if you make opacity the first in your list of animated properties, it fixes the problem.
This page was listed as a duplicate of another, I posted the answer to the other, which might actually help this one too.. considering it's supposedly a duplicate but I don't have time to verify.
Sorry, this is my first bug report, so don't know how to modify the original post.
I've put a super quick example here: http://henrykuo.com/jquerytest/test.html
On mac, this occurs in Safari, Firefox, and Chrome. Removing the 'opacity' property, the position animates correctly.