{"action":"created","issue":{"url":"https://api.github.com/repos/snapappointments/bootstrap-select/issues/2104","repository_url":"https://api.github.com/repos/snapappointments/bootstrap-select","labels_url":"https://api.github.com/repos/snapappointments/bootstrap-select/issues/2104/labels{/name}","comments_url":"https://api.github.com/repos/snapappointments/bootstrap-select/issues/2104/comments","events_url":"https://api.github.com/repos/snapappointments/bootstrap-select/issues/2104/events","html_url":"https://github.com/snapappointments/bootstrap-select/issues/2104","id":361814317,"node_id":"MDU6SXNzdWUzNjE4MTQzMTc=","number":2104,"title":"Uncaught TypeError: Cannot read property 'className' of undefined","user":{"login":"kriit24","id":1489085,"node_id":"MDQ6VXNlcjE0ODkwODU=","avatar_url":"https://avatars3.githubusercontent.com/u/1489085?v=4","gravatar_id":"","url":"https://api.github.com/users/kriit24","html_url":"https://github.com/kriit24","followers_url":"https://api.github.com/users/kriit24/followers","following_url":"https://api.github.com/users/kriit24/following{/other_user}","gists_url":"https://api.github.com/users/kriit24/gists{/gist_id}","starred_url":"https://api.github.com/users/kriit24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriit24/subscriptions","organizations_url":"https://api.github.com/users/kriit24/orgs","repos_url":"https://api.github.com/users/kriit24/repos","events_url":"https://api.github.com/users/kriit24/events{/privacy}","received_events_url":"https://api.github.com/users/kriit24/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-19T15:52:16Z","updated_at":"2018-09-19T15:53:35Z","closed_at":null,"author_association":"NONE","body":"Error appears on multiple select element, if option is empty.\r\n\r\n<div class=\"dropdown bootstrap-select show-tick show\"><select class=\"selectpicker\" name=\"other_name[]\" title=\"Vali ...\" data-on-change=\"select[name=&quot;user_type[]&quot;]\" data-href=\"/test/trans\" data-callback=\"some\" data-selected-text-format=\"count > 2\" multiple=\"1\" tabindex=\"-98\"></select><button type=\"button\" class=\"btn dropdown-toggle bs-placeholder btn-light\" data-toggle=\"dropdown\" role=\"button\" title=\"Vali ...\" aria-expanded=\"true\"><div class=\"filter-option\"><div class=\"filter-option-inner\"><div class=\"filter-option-inner-inner\">Vali ...</div></div> </div></button><div class=\"dropdown-menu  show\" role=\"combobox\" x-placement=\"bottom-start\" style=\"position: absolute; transform: translate3d(0px, 38px, 0px); top: 0px; left: 0px; will-change: transform;\"><div class=\"inner show\" role=\"listbox\" aria-expanded=\"true\" tabindex=\"-1\"><ul class=\"dropdown-menu inner show\"></ul></div></div></div>\r\n\r\nbootstrap-select.js:2727 Uncaught TypeError: Cannot read property 'className' of undefined\r\n    at c.liHeight (bootstrap-select.js:2727)\r\n    at c.setSize (bootstrap-select.js:2727)\r\n    at HTMLButtonElement.<anonymous> (bootstrap-select.js:2727)\r\n    at HTMLButtonElement.dispatch (jquery.min.js:3)\r\n    at HTMLButtonElement.r.handle (jquery.min.js:3)"},"comment":{"url":"https://api.github.com/repos/snapappointments/bootstrap-select/issues/comments/422856571","html_url":"https://github.com/snapappointments/bootstrap-select/issues/2104#issuecomment-422856571","issue_url":"https://api.github.com/repos/snapappointments/bootstrap-select/issues/2104","id":422856571,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjg1NjU3MQ==","user":{"login":"kriit24","id":1489085,"node_id":"MDQ6VXNlcjE0ODkwODU=","avatar_url":"https://avatars3.githubusercontent.com/u/1489085?v=4","gravatar_id":"","url":"https://api.github.com/users/kriit24","html_url":"https://github.com/kriit24","followers_url":"https://api.github.com/users/kriit24/followers","following_url":"https://api.github.com/users/kriit24/following{/other_user}","gists_url":"https://api.github.com/users/kriit24/gists{/gist_id}","starred_url":"https://api.github.com/users/kriit24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriit24/subscriptions","organizations_url":"https://api.github.com/users/kriit24/orgs","repos_url":"https://api.github.com/users/kriit24/repos","events_url":"https://api.github.com/users/kriit24/events{/privacy}","received_events_url":"https://api.github.com/users/kriit24/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T15:53:35Z","updated_at":"2018-09-19T15:53:35Z","author_association":"NONE","body":"second click error:\r\n\r\nbootstrap-select.js:2727 Uncaught TypeError: Cannot read property 'vert' of undefined\r\n    at c.setMenuSize (bootstrap-select.js:2727)\r\n    at c.setSize (bootstrap-select.js:2727)\r\n    at HTMLButtonElement.<anonymous> (bootstrap-select.js:2727)\r\n    at HTMLButtonElement.dispatch (jquery.min.js:3)\r\n    at HTMLButtonElement.r.handle (jquery.min.js:3)"}}
{"actor":{"display_login":"kriit24"}}