Opened 12 years ago
Closed 12 years ago
#7393 closed bug (fixed)
Elements hidden before appended to the DOM can't be shown
Reported by: | bentruyman | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.4.4 |
Component: | effects | Version: | 1.4.4rc |
Keywords: | regression | Cc: | |
Blocked by: | Blocking: |
Description
Worked before:
$('<div>').hide().appendTo('body').show();
It works if hide()
is called after the appendTo
. Seems like this could be a blocker as I often create elements, hide them before appending them, and once ready show it.
See: http://jsfiddle.net/nxwAq/
Tested and not working in: Chrome 8, Safari 5, Opera 10.63
Seems fine in FF 3.6 & 4 though.
Change History (2)
comment:1 Changed 12 years ago by
Component: | unfiled → effects |
---|---|
Keywords: | regression added |
Milestone: | 1.5 → 1.4.4 |
Priority: | undecided → blocker |
Status: | new → open |
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Limit the scope of the CSS 'auto' change to just height/width. Fixes #7393.
Changeset: d9478954b9de79a7f3538e935bfd98cdc61ee435
Note: See
TracTickets for help on using
tickets.
Works fine in 1.4.3. Probably a regression from [9d1bfeb7ffe63b5a7488929b7be847bc1a00f6a6] since
olddisplay
is being set to “auto”, whereas it used to be empty string.