#1082 closed bug (fixed)
removing table row after effect does not free space
Reported by: | jackfrost86 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.1.4 |
Component: | effects | Version: | 1.1.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
removing a tr after an effect with code such as this: <tr id="product1">...</tr> ... $("tr#product1").fadeOut("slow", function() {
$("tr#product1").remove();
});
does not work properly in Firefox, although it does work properly in Safari and IE. The table row fades out and is removed from the DOM but the space it occupied remains used; the rows below it do not slide up. Simply remove()-ing the object does work as expected: the space the table row used is released.
See http://jquery.com/pipermail/discuss_jquery.com/2006-November/016579.html for more information.
Change History (5)
comment:1 Changed 16 years ago by
Description: | modified (diff) |
---|---|
Milestone: | 1.1.3 → 1.1.4 |
Resolution: | → worksforme |
Status: | new → closed |
Version: | 1.1.2 → 1.1.3 |
comment:2 Changed 15 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
I get this error as well; http://nevyn.nu/1082/
It works with fadeOut, but not with slideUp. Also, applying the effect to a tr instead of each individual td seems to mess up the layout, but I suppose that's why did apply it to the tds...
comment:3 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Right, you can't slideUp table rows (since table rows don't have any height).
comment:4 Changed 12 years ago by
this should not be closed. regardless of animation methods, the remove method only empties out a table row, and a simple count of the row elements will prove this. test case coming soon.
Works for me: http://dev.jquery.com/~john/ticket/1082/