{"action":"created","issue":{"url":"https://api.github.com/repos/echa/ng-scrollable/issues/16","labels_url":"https://api.github.com/repos/echa/ng-scrollable/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/echa/ng-scrollable/issues/16/comments","events_url":"https://api.github.com/repos/echa/ng-scrollable/issues/16/events","html_url":"https://github.com/echa/ng-scrollable/issues/16","id":106094559,"number":16,"title":"Scrolling is not enabled/activated until window is resized.","user":{"login":"dsandor","id":574911,"avatar_url":"https://avatars.githubusercontent.com/u/574911?v=3","gravatar_id":"","url":"https://api.github.com/users/dsandor","html_url":"https://github.com/dsandor","followers_url":"https://api.github.com/users/dsandor/followers","following_url":"https://api.github.com/users/dsandor/following{/other_user}","gists_url":"https://api.github.com/users/dsandor/gists{/gist_id}","starred_url":"https://api.github.com/users/dsandor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsandor/subscriptions","organizations_url":"https://api.github.com/users/dsandor/orgs","repos_url":"https://api.github.com/users/dsandor/repos","events_url":"https://api.github.com/users/dsandor/events{/privacy}","received_events_url":"https://api.github.com/users/dsandor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-11T21:09:38Z","updated_at":"2015-09-18T08:28:26Z","closed_at":null,"body":"For whatever reason scrolling does not activate/enable and no scrollbars show until the browser is resized.  This seems to kick off some code and then everything works fine.\r\n\r\nThe resize can be 1 pixel and the content is already flowing off the page.  So it is not like the resize causes the overflow to engage. "},"comment":{"url":"https://api.github.com/repos/echa/ng-scrollable/issues/comments/141380451","html_url":"https://github.com/echa/ng-scrollable/issues/16#issuecomment-141380451","issue_url":"https://api.github.com/repos/echa/ng-scrollable/issues/16","id":141380451,"user":{"login":"echa","id":910436,"avatar_url":"https://avatars.githubusercontent.com/u/910436?v=3","gravatar_id":"","url":"https://api.github.com/users/echa","html_url":"https://github.com/echa","followers_url":"https://api.github.com/users/echa/followers","following_url":"https://api.github.com/users/echa/following{/other_user}","gists_url":"https://api.github.com/users/echa/gists{/gist_id}","starred_url":"https://api.github.com/users/echa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echa/subscriptions","organizations_url":"https://api.github.com/users/echa/orgs","repos_url":"https://api.github.com/users/echa/repos","events_url":"https://api.github.com/users/echa/events{/privacy}","received_events_url":"https://api.github.com/users/echa/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T08:28:26Z","updated_at":"2015-09-18T08:28:26Z","body":"Hey @chinnichaitanya , I it's ok to use some user interaction like `ng-mouseenter` when you don't design for mobile (that event does not exist there). If you need the update to happen earlier, call the event in your controller that exposes your data to the template. The default wait delay when you don't specify a number for the event is 100ms.\r\n\r\nRemember, ngScrollable just mimics native browser scrollbars because there is no efficient way to detect layout updates. Watching things like `clientWidth/clientHeight` requires a slow DOM interaction so I don't do this."}}