Ticket #4681 (closed bug: fixed)
Hide/Toggle functions fail inside a hidden element
| Reported by: | vertigo | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | effects | Version: | 1.3.2 |
| Keywords: | fade hide effects | Cc: | |
| Blocking: | Blocked by: |
Description
Trying to use .fadeOut() on an img, which is inside a container div. When the container div is hidden, calling .fadeOut() on the img fails to hide it. Also happens with .toggle()
To test: extract example, load in browser. Click "Toggle Div" (div will hide). Click "Toggle Img". Click "Toggle Div" again (div will show). The img will still show, when it should be hidden.
Attachments
Change History
comment:1 Changed 3 years ago by dobiatowski
I agree with vertigo, problem is still open.
in the link I posted code for testing, which show that .toggle() doesn't work for objects inside hidden parents. http://jsfiddle.net/kXctQ/
I hope you will fix it soon. Dobiatowski!
comment:2 Changed 3 years ago by SlexAxton
- Priority changed from minor to low
- Status changed from new to open
- Milestone changed from 1.4 to 1.5
I can reproduce this in 1.4.3 and git. Marking as valid/open.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

