{"action":"created","issue":{"url":"https://api.github.com/repos/offirgolan/ember-light-table/issues/60","repository_url":"https://api.github.com/repos/offirgolan/ember-light-table","labels_url":"https://api.github.com/repos/offirgolan/ember-light-table/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/offirgolan/ember-light-table/issues/60/comments","events_url":"https://api.github.com/repos/offirgolan/ember-light-table/issues/60/events","html_url":"https://github.com/offirgolan/ember-light-table/pull/60","id":160542091,"number":60,"title":"Recalculate scrollbar when viewport dimensions change","user":{"login":"offirgolan","id":575938,"avatar_url":"https://avatars.githubusercontent.com/u/575938?v=3","gravatar_id":"","url":"https://api.github.com/users/offirgolan","html_url":"https://github.com/offirgolan","followers_url":"https://api.github.com/users/offirgolan/followers","following_url":"https://api.github.com/users/offirgolan/following{/other_user}","gists_url":"https://api.github.com/users/offirgolan/gists{/gist_id}","starred_url":"https://api.github.com/users/offirgolan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/offirgolan/subscriptions","organizations_url":"https://api.github.com/users/offirgolan/orgs","repos_url":"https://api.github.com/users/offirgolan/repos","events_url":"https://api.github.com/users/offirgolan/events{/privacy}","received_events_url":"https://api.github.com/users/offirgolan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-15T22:52:43Z","updated_at":"2016-06-16T18:16:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/offirgolan/ember-light-table/pulls/60","html_url":"https://github.com/offirgolan/ember-light-table/pull/60","diff_url":"https://github.com/offirgolan/ember-light-table/pull/60.diff","patch_url":"https://github.com/offirgolan/ember-light-table/pull/60.patch"},"body":"When a dom element is removed or inserted, we dont recalculate the scrollable container. @taras this solution works but I believe can be improved. "},"comment":{"url":"https://api.github.com/repos/offirgolan/ember-light-table/issues/comments/226568595","html_url":"https://github.com/offirgolan/ember-light-table/pull/60#issuecomment-226568595","issue_url":"https://api.github.com/repos/offirgolan/ember-light-table/issues/60","id":226568595,"user":{"login":"offirgolan","id":575938,"avatar_url":"https://avatars.githubusercontent.com/u/575938?v=3","gravatar_id":"","url":"https://api.github.com/users/offirgolan","html_url":"https://github.com/offirgolan","followers_url":"https://api.github.com/users/offirgolan/followers","following_url":"https://api.github.com/users/offirgolan/following{/other_user}","gists_url":"https://api.github.com/users/offirgolan/gists{/gist_id}","starred_url":"https://api.github.com/users/offirgolan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/offirgolan/subscriptions","organizations_url":"https://api.github.com/users/offirgolan/orgs","repos_url":"https://api.github.com/users/offirgolan/repos","events_url":"https://api.github.com/users/offirgolan/events{/privacy}","received_events_url":"https://api.github.com/users/offirgolan/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T18:16:23Z","updated_at":"2016-06-16T18:16:23Z","body":"@taras lets say you have a flexbox container with flex-direction: row. You initially have a single item in that container (i.e. the table) then some event gets triggered and a new item is added to the container. Now, the table's width has been reduced by 50% but the scrollable container does not trigger its recalculate method due to the fact that a resize event hasnt been triggered"}}
{"actor":{"display_login":"offirgolan"}}