jquery-gentleSelect
jquery-gentleSelect copied to clipboard
no mouseleave on touch devices
Hi again, still loving the script.
I just started to build out a mobile theme using the gentleselect but there is no mouseleave on touch devices so the selects stay open when you click a new one, or off the the select.
I fixed part of this with a simple hack: labelClick : function() { $(".gentleselect-dialog").fadeOut();
I have yet to figure a good way to hide the old dialogs when they are clicked off (as in the body is clicked), but its still early.
Hi William,
If you set hideOnMouseOut to false
, the dialog should hide once something is selected (instead of on mouse leave). Would that solve the problem?
I think I tried it but I will try again and let you know.
On 20 March 2013 07:46, Shawn Chin [email protected] wrote:
Hi William,
If you set hideOnMouseOuthttp://shawnchin.github.com/jquery-gentleSelect/#option-mouseoutto false, the dialog would hide once something is selected (instead of on mouse leave). Would that solve the problem?
— Reply to this email directly or view it on GitHubhttps://github.com/shawnchin/jquery-gentleSelect/issues/6#issuecomment-15170705 .
Hi
I just tested again and that setting did not make a difference.
That setting is only used when dialogHoverOut is called on mouseleave.
On 20 March 2013 11:01, Will Bowman [email protected] wrote:
I think I tried it but I will try again and let you know.
On 20 March 2013 07:46, Shawn Chin [email protected] wrote:
Hi William,
If you set hideOnMouseOuthttp://shawnchin.github.com/jquery-gentleSelect/#option-mouseoutto false, the dialog would hide once something is selected (instead of on mouse leave). Would that solve the problem?
— Reply to this email directly or view it on GitHubhttps://github.com/shawnchin/jquery-gentleSelect/issues/6#issuecomment-15170705 .