Ticket #2041 (closed bug: wontfix)
Firefox: animations don't work on table rows (tr) because display:block; should be display:;
| Reported by: | beat | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2.2 |
| Component: | effects | Version: | 1.2.1 |
| Keywords: | slideUp slideDown table tr display block | Cc: | |
| Blocking: | Blocked by: |
Description
$("tr.contentRowToChange).slideUp("slow");
doesn't work as expected in Firefox 2.0.11, as it changes the display type of the tr element to "block", all the content gets into the first column of table.
I have found that changing display type to "" instead of "block" works on all instances.
http://jszen.blogspot.com/2004/07/table-rowsrevealed.html
$("tr.contentRowToChange).slideDown("slow");
has another bug: it leaves the space visible, but didn't find why.
Change History
comment:2 Changed 5 years ago by john
- Status changed from new to closed
- Resolution set to wontfix
You can't slide table rows, as you can't manipulate the height of them. Any solution to this is far too convoluted to implement sanely. It's probably better to just use regular, non-animated, hide and show for now.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

This is likely related to #1082.