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

chosen:open event not displaying options for single select #2235

Closed
jamesplease opened this issue Feb 11, 2015 · 4 comments
Closed

chosen:open event not displaying options for single select #2235

jamesplease opened this issue Feb 11, 2015 · 4 comments

Comments

@jamesplease
Copy link
Contributor

Maybe related to #2234.

As a workaround for #2234, I tried triggering the chosen:open event on the element whenever the label was clicked, but the event is also not displaying the options.

@tjschuck
Copy link
Member

On the examples page, if you do:

$("#single-label-example").trigger('chosen:open')

the select opens, but immediately closes (but retains focus). If you do it a second time, it properly opens.

@tjschuck
Copy link
Member

Oh, that ID is referring to the single select located at http://harvesthq.github.io/chosen/#labels-work-too, by the way.

@tjschuck
Copy link
Member

^ that behavior also sounds suspiciously similar to #2171 -- wonder if they're related.

@pfiller
Copy link
Contributor

pfiller commented Jun 7, 2016

On the examples page, if you do:

$("#single-label-example").trigger('chosen:open')

the select opens, but immediately closes (but retains focus). If you do it a second time, it properly opens.

This is no longer true for me. I wonder if #2119 fixed this up, too. Closing until someone provides a Fiddle showing that it's not fixed.

@pfiller pfiller closed this as completed Jun 7, 2016
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

3 participants