Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no mouseleave on touch devices #6

Open
gcphost opened this issue Mar 15, 2013 · 3 comments
Open

no mouseleave on touch devices #6

gcphost opened this issue Mar 15, 2013 · 3 comments

Comments

@gcphost
Copy link

gcphost commented Mar 15, 2013

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.

@shawnchin
Copy link
Owner

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?

@gcphost
Copy link
Author

gcphost commented Mar 20, 2013

I think I tried it but I will try again and let you know.

On 20 March 2013 07:46, Shawn Chin notifications@github.com 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//issues/6#issuecomment-15170705
.

@gcphost
Copy link
Author

gcphost commented Mar 21, 2013

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 gcphost@gmail.com wrote:

I think I tried it but I will try again and let you know.

On 20 March 2013 07:46, Shawn Chin notifications@github.com 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//issues/6#issuecomment-15170705
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants