-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Select in a div that's hidden on page load #2309
Comments
For what its worth I just came across this having a chosen select in a bootstrap modal. Fixed it by using |
Thank you - I was hoping to have it use the width specified in the CSS, which is why it wasn't specified (as I have selects of differing sizes sometimes), but I can try and work around that. |
This is probably the most annoying "feature" of this control. I tried Select2 and it doesn't have this limitation. What I did was something akin to which works okay for me. |
this whorks for me: |
Duplicate of #92 |
Hi
I seem to have hit an issue using Chosen to generate a select list in a div element that's hidden on page load. If the div is then shown, the select list has no width and you can't see any item text. You should be able to see what I mean with the below JSFiddle:
http://jsfiddle.net/mamwuen5/
If the div is not hidden on page load, you can hide and show it to your heart's content, as in the below JSFiddle:
http://jsfiddle.net/mamwuen5/2/
Am I doing something wrong, or is this a bug?
Thanks
Chris
The text was updated successfully, but these errors were encountered: