{"action":"opened","issue":{"url":"https://api.github.com/repos/cornflourblue/angu-fixed-header-table/issues/18","labels_url":"https://api.github.com/repos/cornflourblue/angu-fixed-header-table/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/cornflourblue/angu-fixed-header-table/issues/18/comments","events_url":"https://api.github.com/repos/cornflourblue/angu-fixed-header-table/issues/18/events","html_url":"https://github.com/cornflourblue/angu-fixed-header-table/issues/18","id":100827666,"number":18,"title":"\"tbody\" height should be calculated with \"thead\" and \"tfoot\" heights and maybe with margin.","user":{"login":"bodja","id":1768877,"avatar_url":"https://avatars.githubusercontent.com/u/1768877?v=3","gravatar_id":"","url":"https://api.github.com/users/bodja","html_url":"https://github.com/bodja","followers_url":"https://api.github.com/users/bodja/followers","following_url":"https://api.github.com/users/bodja/following{/other_user}","gists_url":"https://api.github.com/users/bodja/gists{/gist_id}","starred_url":"https://api.github.com/users/bodja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bodja/subscriptions","organizations_url":"https://api.github.com/users/bodja/orgs","repos_url":"https://api.github.com/users/bodja/repos","events_url":"https://api.github.com/users/bodja/events{/privacy}","received_events_url":"https://api.github.com/users/bodja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-13T17:43:07Z","updated_at":"2015-08-13T17:43:07Z","closed_at":null,"body":"table of 100% height breaks down thead and tfoot displaying.\r\n```html\r\n<div style=\"height: 100%\">\r\n    <table fixed-header style=\"height: 100%;\">\r\n    ....\r\n    </table>\r\n</div>\r\n```\r\nSuggestion:\r\n`tbody.style.height = elem.offsetHeight - elem.querySelector('thead').offsetHeight - (elem.querySelector('tfoot').offsetHeight || 0) + 'px';`"}}