Opened 13 years ago
Closed 12 years ago
#5157 closed bug (duplicate)
Animating TBODY sets display:block which displays it at end of table
Reported by: | candlerb | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.4 |
Component: | effects | Version: | 1.3.2 |
Keywords: | tbody display block animate | Cc: | |
Blocked by: | Blocking: |
Description
If you try to animate the show/hide of a TBODY section, then the row group jumps to the end of the table (in Firefox 3.0.13 at least). This is because the element gets a style="display: block" attribute.
I'm not sure of the best way to solve this problem.
I attach a simple HTML page which demonstrates the issue, and a frig patch to jquery which fixes it by using display:table-row-group for TBODY elements (but I'm sure there must be a cleaner way of handling this). The patch isn't perfect because there is still a small visible "bounce" at the end of the slideDown().
More info in this thread: http://groups.google.com/group/jquery-en/browse_thread/thread/38ca2deb7150efeb
Attachments (2)
Change History (6)
Changed 13 years ago by
Attachment: | tbody.html added |
---|
comment:1 Changed 13 years ago by
Component: | unfilled → fx |
---|
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
More efficient fix here: http://github.com/ralphholzmann/jquery/commit/f12acef7e6f11f7da22b49e4d7da4267772155c2
HTML page demonstrating problem