{"action":"created","issue":{"url":"https://api.github.com/repos/harvesthq/chosen/issues/92","repository_url":"https://api.github.com/repos/harvesthq/chosen","labels_url":"https://api.github.com/repos/harvesthq/chosen/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/harvesthq/chosen/issues/92/comments","events_url":"https://api.github.com/repos/harvesthq/chosen/issues/92/events","html_url":"https://github.com/harvesthq/chosen/issues/92","id":1299339,"node_id":"MDU6SXNzdWUxMjk5MzM5","number":92,"title":"if select is initially hidden, doesn't work","user":{"login":"iamnader","id":97626,"node_id":"MDQ6VXNlcjk3NjI2","avatar_url":"https://avatars1.githubusercontent.com/u/97626?v=4","gravatar_id":"","url":"https://api.github.com/users/iamnader","html_url":"https://github.com/iamnader","followers_url":"https://api.github.com/users/iamnader/followers","following_url":"https://api.github.com/users/iamnader/following{/other_user}","gists_url":"https://api.github.com/users/iamnader/gists{/gist_id}","starred_url":"https://api.github.com/users/iamnader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamnader/subscriptions","organizations_url":"https://api.github.com/users/iamnader/orgs","repos_url":"https://api.github.com/users/iamnader/repos","events_url":"https://api.github.com/users/iamnader/events{/privacy}","received_events_url":"https://api.github.com/users/iamnader/received_events","type":"User","site_admin":false},"labels":[{"id":130455,"node_id":"MDU6TGFiZWwxMzA0NTU=","url":"https://api.github.com/repos/harvesthq/chosen/labels/Bug","name":"Bug","color":"e10c02","default":false},{"id":453290221,"node_id":"MDU6TGFiZWw0NTMyOTAyMjE=","url":"https://api.github.com/repos/harvesthq/chosen/labels/Sizing","name":"Sizing","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":119,"created_at":"2011-07-27T22:07:30Z","updated_at":"2018-11-13T06:54:14Z","closed_at":null,"author_association":"NONE","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/\n\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?\n"},"comment":{"url":"https://api.github.com/repos/harvesthq/chosen/issues/comments/438157475","html_url":"https://github.com/harvesthq/chosen/issues/92#issuecomment-438157475","issue_url":"https://api.github.com/repos/harvesthq/chosen/issues/92","id":438157475,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODE1NzQ3NQ==","user":{"login":"sharifanani","id":11825589,"node_id":"MDQ6VXNlcjExODI1NTg5","avatar_url":"https://avatars2.githubusercontent.com/u/11825589?v=4","gravatar_id":"","url":"https://api.github.com/users/sharifanani","html_url":"https://github.com/sharifanani","followers_url":"https://api.github.com/users/sharifanani/followers","following_url":"https://api.github.com/users/sharifanani/following{/other_user}","gists_url":"https://api.github.com/users/sharifanani/gists{/gist_id}","starred_url":"https://api.github.com/users/sharifanani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharifanani/subscriptions","organizations_url":"https://api.github.com/users/sharifanani/orgs","repos_url":"https://api.github.com/users/sharifanani/repos","events_url":"https://api.github.com/users/sharifanani/events{/privacy}","received_events_url":"https://api.github.com/users/sharifanani/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T06:54:14Z","updated_at":"2018-11-13T06:54:14Z","author_association":"NONE","body":"> My workarond with bootstrap 3 is adding the following style:\r\n> \r\n> ```\r\n> .chosen-container {\r\n>     min-width: 90%;\r\n> }\r\n> ```\r\n\r\nBuy then the dropdown still doesn't show...."}}
{"actor":{"display_login":"sharifanani"}}