Opened 14 years ago
Closed 12 years ago
#3968 closed bug (fixed)
effects explode: explodes from the right instead of from the center
Reported by: | rdworth | Owned by: | Corey Frang |
---|---|---|---|
Priority: | major | Milestone: | 1.9.0 |
Component: | ui.effects.* (individual effect) | Version: | 1.6rc5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The explode effect when viewed in Safari is centered at the right middle instead of the center middle. See
http://jquery-ui.googlecode.com/svn/tags/1.6rc5/demos/effects_showhide/explode.html
Change History (11)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Summary: | effects explode: explodes from the right instead of from the center → effects explode: [webkit bug] explodes from the right instead of from the center |
---|
comment:5 Changed 13 years ago by
Priority: | critical → major |
---|
comment:6 Changed 12 years ago by
I'm beginning to think after some digging that the explode effect actually wants .outerWidth()
not .outerWidth(true)
a few other mathematical improvements led me here: http://jsfiddle.net/gnarf/QJ9Y9/
comment:8 Changed 12 years ago by
Milestone: | 1.next → 1.9 |
---|---|
Owner: | set to Corey Frang |
Status: | new → assigned |
comment:9 Changed 12 years ago by
Summary: | effects explode: [webkit bug] explodes from the right instead of from the center → effects explode: explodes from the right instead of from the center |
---|
comment:11 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in 39dcad6e498a4c7b1507f188ea7733ff5ac1eb26.
Note: See
TracTickets for help on using
tickets.
This is caused by a bug in Safari where the computed value for marginRight is actually all of the remaining space between the right edge of the element and the right edge of the parent element. This can be fixed by calling .outerWidth() without passing in true, but then the effect won't work on elements that have a margin.