{"action":"created","issue":{"url":"https://api.github.com/repos/thednp/bootstrap.native/issues/32","labels_url":"https://api.github.com/repos/thednp/bootstrap.native/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/thednp/bootstrap.native/issues/32/comments","events_url":"https://api.github.com/repos/thednp/bootstrap.native/issues/32/events","html_url":"https://github.com/thednp/bootstrap.native/pull/32","id":118882537,"number":32,"title":"Collapse fixes","user":{"login":"soda0289","id":2373964,"avatar_url":"https://avatars.githubusercontent.com/u/2373964?v=3","gravatar_id":"","url":"https://api.github.com/users/soda0289","html_url":"https://github.com/soda0289","followers_url":"https://api.github.com/users/soda0289/followers","following_url":"https://api.github.com/users/soda0289/following{/other_user}","gists_url":"https://api.github.com/users/soda0289/gists{/gist_id}","starred_url":"https://api.github.com/users/soda0289/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soda0289/subscriptions","organizations_url":"https://api.github.com/users/soda0289/orgs","repos_url":"https://api.github.com/users/soda0289/repos","events_url":"https://api.github.com/users/soda0289/events{/privacy}","received_events_url":"https://api.github.com/users/soda0289/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-11-25T17:10:19Z","updated_at":"2015-12-08T20:07:37Z","closed_at":"2015-11-26T18:03:54Z","pull_request":{"url":"https://api.github.com/repos/thednp/bootstrap.native/pulls/32","html_url":"https://github.com/thednp/bootstrap.native/pull/32","diff_url":"https://github.com/thednp/bootstrap.native/pull/32.diff","patch_url":"https://github.com/thednp/bootstrap.native/pull/32.patch"},"body":"I have noticed some issues with Collapse and how it calculates max height and resizes the div. The current getMaxHeight function doesn't take in to account padding of the collapsible div and returns and incorrect height. Also, in Firefox, when a dropdown select form element is present it can't be used as it disappears when the style attribute and class is modified. This was resolved by adding a current height variable and only calling resize when maxHeight changes for the div.\r\n\r\nAn example of these problems can be seen here:\r\nhttp://codepen.io/anon/pen/MaMwgW"},"comment":{"url":"https://api.github.com/repos/thednp/bootstrap.native/issues/comments/163000571","html_url":"https://github.com/thednp/bootstrap.native/pull/32#issuecomment-163000571","issue_url":"https://api.github.com/repos/thednp/bootstrap.native/issues/32","id":163000571,"user":{"login":"soda0289","id":2373964,"avatar_url":"https://avatars.githubusercontent.com/u/2373964?v=3","gravatar_id":"","url":"https://api.github.com/users/soda0289","html_url":"https://github.com/soda0289","followers_url":"https://api.github.com/users/soda0289/followers","following_url":"https://api.github.com/users/soda0289/following{/other_user}","gists_url":"https://api.github.com/users/soda0289/gists{/gist_id}","starred_url":"https://api.github.com/users/soda0289/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soda0289/subscriptions","organizations_url":"https://api.github.com/users/soda0289/orgs","repos_url":"https://api.github.com/users/soda0289/repos","events_url":"https://api.github.com/users/soda0289/events{/privacy}","received_events_url":"https://api.github.com/users/soda0289/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T20:07:37Z","updated_at":"2015-12-08T20:07:37Z","body":"I have switched to using your polyfills/minifill and code works as expected. Thanks!"}}