Closed
Bug 624524
Opened 14 years ago
Closed 14 years ago
<detail> collapse animation looks wonky
Categories
(support.mozilla.org :: Knowledge Base Software, task, P2)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
2.4.2
People
(Reporter: erik, Assigned: erik)
Details
In 2.4, the entirety of the <details>'s contents would slide up or down when clicking the <details> element. Now something different--and ugly--is happening. It's hard to describe. An example is at /de/localization.
This regressed between 2.4 and 2.4.1.
| Assignee | ||
Updated•14 years ago
|
Target Milestone: 2.4.1 → 2.4.2
Comment 1•14 years ago
|
||
I've downgraded jQuery to 1.4.1 locally and this no longer happens. Looks like a regression in jQuery.
Comment 2•14 years ago
|
||
I filed a ticket with jQuery: http://bugs.jquery.com/ticket/7960
Comment 3•14 years ago
|
||
Thanks for taking initiative on this Paul. Hopefully it's easy for them to track down. Feel free to un-/reassign once we've figured out where the problem is.
Pushing out until we know if this is a jQuery bug or something we did.
Assignee: nobody → paulc
Target Milestone: 2.4.2 → Future
Comment 4•14 years ago
|
||
Is there a reason for the inline style on:
`<summary style="display: inline">`
Removing that makes it better. Other than that, it looks like the default easing changed for the animation. Or maybe there was no easing at all before.
Looking at docs for slideToggle:
"As of jQuery 1.4.3, an optional string naming an easing function may be used. Easing functions specify the speed at which the animation progresses at different points within the animation. The only easing implementations in the jQuery library are the default, called swing, and one that progresses at a constant pace, called linear"
So we probably can just change to 'linear' and it will behave as before.
| Assignee | ||
Comment 5•14 years ago
|
||
I don't think it's the easing thing: the wiki document edit page's disclosers animate properly.
As for the "inline": rats! I didn't mean to leave that inline. It exists to make the mode selection buttons appear next to the readout titles rather than below them. *moves that to dashboards.css* Good eye!
Updated•14 years ago
|
Assignee: paulc → erik
Updated•14 years ago
|
Target Milestone: Future → 2.4.2
| Assignee | ||
Comment 6•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 7•14 years ago
|
||
(In reply to comment #2)
> I filed a ticket with jQuery: http://bugs.jquery.com/ticket/7960
Added a comment to the ticket with Ricky's example, hopefully they will fix the display: table wonkiness. Thanks Ricky!
Apparently this has gotten different degrees of wonky since about jQuery 1.2.6!
Comment 8•14 years ago
|
||
Much smoother, gliding action in the collapse/re-open animations on various locale versions of the localizer & contributor dashboards.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•