Ravichndra / dropdown-check-list

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

CONFLICT WITH UNDISPLAYED LAYERS (DIV) #303

Open GoogleCodeExporter opened 9 years ago

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

I am trying to design a website with a Multiselect dropdown which is in a 
div(layer) and the div is undisplayed(style="display:none;"). I display the div 
by a button, but the drop list does not work. I can see the box, but it does 
not show the options.

I have tried with a displayed div. If the div is displayed 
(style="display:block;"), the plugin works perfectly.

Any idea which could fix this problem?

Thank you

** What is the expected output? What do you see instead?

** What is your environment?
-- DropDownCheckList version: 1.4
-- jQuery version: 1.6.1
-- jQuery UI version: 1.8.13
-- Browser and version:

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

Original issue reported on code.google.com by ozz....@gmail.com on 14 Oct 2013 at 1:49

GoogleCodeExporter commented 9 years ago
I found the problem. Does anyone know anything to avoid that? Thank you

4) DDCL calculates size and position on widget initialization. This only 
operates properly if the wrapper elements containing the <SELECT> are not 
hidden. Therefore, the use of DDCL within dynamic components that hide/show the 
wrapper element is problematic.

Original comment by ozz....@gmail.com on 15 Oct 2013 at 11:08