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

option-click not firing in mobile browsers #184

Closed
leonpidgeon opened this issue Jun 19, 2013 · 1 comment
Closed

option-click not firing in mobile browsers #184

leonpidgeon opened this issue Jun 19, 2013 · 1 comment
Assignees

Comments

@leonpidgeon
Copy link

I am binding the option-click and this does not seem to be firing in mobile browsers (safari and chrome tested). Code works as expected in standard browsers and is shown below.

$("select#myselect").bind({
"option-click": function () {
// Nothing here gets called
}
});

@ghost ghost assigned gfranko Jun 25, 2013
@gfranko
Copy link
Owner

gfranko commented Jun 25, 2013

Hi Leon,

Thanks for the donation, much appreciated. I just released SelectBoxIt v3.6.0, which will trigger an option-click event handler for mobile devices after a change event. I must use this hacky workaround in mobile browsers because SelectBoxIt uses the native select menu for mobile/tablet devices. Hope this helps!

@gfranko gfranko closed this as completed Jun 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants