{"comment":{"created_at":"2011-10-10T10:20:43Z","body":"Bumped into this one... it's still happening in the latest version","updated_at":"2011-10-10T10:20:43Z","url":"https://api.github.com/repos/harvesthq/chosen/issues/comments/2344823","id":2344823,"user":{"avatar_url":"https://secure.gravatar.com/avatar/e58ca6e93ca89f2f9104fe8b0935b398?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/AlexMC","id":44814,"login":"AlexMC"}},"action":"created","issue":{"number":92,"created_at":"2011-07-27T22:07:30Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"This is because when setting the width it will return 0.  Using this technique works: http://www.foliotek.com/devblog/getting-the-width-of-a-hidden-element-with-jquery-using-width/\r\n\r\nThe code should check if the elmt.is(:visible) and if so use the above technique.  I'm happy to fix in a fork.  @hat is the procedure?  Just patch the coffeescript?  How do you generate js and js min?","comments":14,"title":"if select is initially hidden, doesn't work","updated_at":"2011-10-10T10:20:43Z","url":"https://api.github.com/repos/harvesthq/chosen/issues/92","id":1299339,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/eb2188d5f423e1738bd056a9410e4183?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/iamnader","id":97626,"login":"iamnader"},"html_url":"https://github.com/harvesthq/chosen/issues/92","labels":[{"name":"Bug","url":"https://api.github.com/repos/harvesthq/chosen/labels/Bug","color":"e10c02"}],"state":"open"},"legacy":{"issue_id":1299339,"comment_id":2344823}}