mtoledo87 / dropdown-check-list

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

Add an optional Close/Done/Hide button for users who seems confused about how to close the list after selection #129

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
** What steps will reproduce the problem?
Just a button to hide it will do it.

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

** What is your environment?
-- DropDownCheckList version:
-- jQuery version:
-- jQuery UI version:
-- Browser and version:
General

** Please provide any additional information below/Please attach sample
html
I think it is self explanatory.

Original issue reported on code.google.com by mudassar...@gmail.com on 29 Sep 2010 at 4:17

GoogleCodeExporter commented 8 years ago
The main text display area acts like a 'close' when the drop-down is open.  
Since clicking anywhere in it will trigger the close, and since you can use CSS 
to display a button-looking image as a background in the main display, I am not 
sure where a separate close button would go (visually).  What did you have in 
mind?

Original comment by womohun...@ittrium.com on 6 Oct 2010 at 1:35

GoogleCodeExporter commented 8 years ago
Issue 141 has been merged into this issue.

Original comment by womohun...@ittrium.com on 15 Dec 2010 at 4:14

GoogleCodeExporter commented 8 years ago
Reclassify as enhancement request (#141 suggests an extra item at the end of 
the list)
Maybe a config option that takes two parameters, 1) text to include as the last 
option in the list that closes the list, and 2) a minimum count of options 
displayed before the extra close option is included.

Original comment by womohun...@ittrium.com on 15 Dec 2010 at 4:17

GoogleCodeExporter commented 8 years ago
IMHO having an extra button displayed only with a minimum amount of options 
would be irritating to novice users. Consistency is key. 

I find having the dropdown without OK button really troublesome, because having 
to click on the drop down list again to close it goes against all common UI 
standards. People aren't used to that kind of control.

Original comment by udol...@gmail.com on 15 Dec 2010 at 4:31

GoogleCodeExporter commented 8 years ago
is there any command to close all dropdowns that we can bind on another element?

Thanks

Original comment by leeja...@gmail.com on 19 Mar 2011 at 11:49

GoogleCodeExporter commented 8 years ago
Version 1.2 contains a new configuration option -- explicitClose: 'string' 
which will display the given text as an extra item at the bottom of the list.  
Clicking on that item will close the dropdown.

Version 1.2 contains a new external function -- close(), which causes the 
drowdown list to close itself.  You can bind the close() call to any external 
action you would like.  It is your responsibility to find the target item, but 
if you could find it to initialize DDCL, then you should be able to find it to 
close it.

Original comment by womohun...@ittrium.com on 20 Mar 2011 at 12:07

GoogleCodeExporter commented 8 years ago
thanks for the info. I will try the close() function now

Original comment by leeja...@gmail.com on 20 Mar 2011 at 4:25

GoogleCodeExporter commented 8 years ago
Fixed in 1.3 - both external close function and extra option at the end of the 
list are now available.

Original comment by womohun...@ittrium.com on 13 Apr 2011 at 5:13