#13183 closed bug (fixed)
Wrong animation initial value calculation (1.9.0rc1)
Reported by: | anonymous | Owned by: | mikesherov |
---|---|---|---|
Priority: | high | Milestone: | 1.9.1 |
Component: | effects | Version: | 1.9b1 |
Keywords: | Cc: | mikesherov | |
Blocked by: | Blocking: |
Description
1.9.0rc1 sets wrong initial values for width and height when animations starts.
Simple demo - http://jsfiddle.net/xAbRz/ - the block should only move left, but it appears bigger at the start and then starts resizing, too.
Looks like jQuery animation method uses outerWidth()/outerHeight() instead of width()/height(), because this issue dissapears if padding is removed.
Works fine using prvious versions.
Change History (15)
comment:1 Changed 10 years ago by
Cc: | mikesherov added |
---|---|
Status: | new → open |
comment:2 Changed 10 years ago by
Component: | unfiled → effects |
---|---|
Owner: | set to mikesherov |
Priority: | undecided → high |
Status: | open → assigned |
This is a regression in 1.9.0 from 1.8.3. I'll investigate.
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fix #13183: Wrong animation initial value calc. Close gh-1136.
Changeset: 65df32dc21dc315fe0dcccdcf7d07884f4794ccd
comment:4 Changed 10 years ago by
Fix #13183: Wrong animation initial value calc. Ref gh-1136.
Changeset: 10cc33e27beb56e41bea1274bc3b51b1c59af9af
I agree with your basic analysis; @mikesherov does this make sense to you?