EhabBug / dropdown-check-list

Automatically exported from code.google.com/p/dropdown-check-list
0 stars 0 forks source link

doesn't work if used on hidden elements #211

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
** What steps will reproduce the problem?

I have a form inside a hidden div(display:none with css) and i instatiante the 
dropdownchecklist before unhiding the div, the bar doesn't show the options it 
only changes the icon from -> to V.

To test use something like this

$(document).ready(function() {
    $("#div_containing_chiusura").toggle();
    $("#chiusura").dropdownchecklist({icon: {}, width: 450, zIndex: 999, emptyText: "Seleziona uno o pi\u00f9 giorni" });
    $("#div_containing_chiusura").toggle();
}

** What is the expected output? What do you see instead?
i can only see the title, but clicking on it does nothing

** What is your environment?
-- DropDownCheckList version: 1.4
-- jQuery version: 1.6.4
-- jQuery UI version: 1.8.16
-- Browser and version: firefox 7.0.1

** Please provide any additional information below/Please attach sample
html

Original issue reported on code.google.com by maxim.po...@gmail.com on 17 Oct 2011 at 10:42

GoogleCodeExporter commented 8 years ago
This is a known design limitation.  See issue #153 and the TESTFORM page, "DDCL 
within a hidden parent"

Original comment by womohun...@ittrium.com on 17 Oct 2011 at 2:32