{"action":"created","issue":{"url":"https://api.github.com/repos/zefoy/ngx-perfect-scrollbar/issues/125","repository_url":"https://api.github.com/repos/zefoy/ngx-perfect-scrollbar","labels_url":"https://api.github.com/repos/zefoy/ngx-perfect-scrollbar/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/zefoy/ngx-perfect-scrollbar/issues/125/comments","events_url":"https://api.github.com/repos/zefoy/ngx-perfect-scrollbar/issues/125/events","html_url":"https://github.com/zefoy/ngx-perfect-scrollbar/issues/125","id":276625554,"number":125,"title":"Directive not working in Example App if started with Directive showing","user":{"login":"NejcCarl","id":14848856,"avatar_url":"https://avatars0.githubusercontent.com/u/14848856?v=4","gravatar_id":"","url":"https://api.github.com/users/NejcCarl","html_url":"https://github.com/NejcCarl","followers_url":"https://api.github.com/users/NejcCarl/followers","following_url":"https://api.github.com/users/NejcCarl/following{/other_user}","gists_url":"https://api.github.com/users/NejcCarl/gists{/gist_id}","starred_url":"https://api.github.com/users/NejcCarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NejcCarl/subscriptions","organizations_url":"https://api.github.com/users/NejcCarl/orgs","repos_url":"https://api.github.com/users/NejcCarl/repos","events_url":"https://api.github.com/users/NejcCarl/events{/privacy}","received_events_url":"https://api.github.com/users/NejcCarl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-24T14:01:43Z","updated_at":"2017-11-24T15:19:02Z","closed_at":null,"author_association":"NONE","body":"I have an issue when using [perfectScrollbar] directive and I can reproduce this issue in example app for Angular 4. The container with this directive is scrollable and I have checked PerfectScrollbar in debugger and it has right dimensions for containerHeight, containerWidth and contentHeight, contentWidth. But the scrollbar is not visible and is under the content and its height is added to content height.\r\n\r\nYou can reproduce the issue in Example App by setting:\r\npublic type: string = 'directive';\r\n\r\nThe scrollbar will not show. If you now click on \"Switch to component\" button and then back on \"Switch to directive\" button it will work as expected."},"comment":{"url":"https://api.github.com/repos/zefoy/ngx-perfect-scrollbar/issues/comments/346850541","html_url":"https://github.com/zefoy/ngx-perfect-scrollbar/issues/125#issuecomment-346850541","issue_url":"https://api.github.com/repos/zefoy/ngx-perfect-scrollbar/issues/125","id":346850541,"user":{"login":"sconix","id":921515,"avatar_url":"https://avatars3.githubusercontent.com/u/921515?v=4","gravatar_id":"","url":"https://api.github.com/users/sconix","html_url":"https://github.com/sconix","followers_url":"https://api.github.com/users/sconix/followers","following_url":"https://api.github.com/users/sconix/following{/other_user}","gists_url":"https://api.github.com/users/sconix/gists{/gist_id}","starred_url":"https://api.github.com/users/sconix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sconix/subscriptions","organizations_url":"https://api.github.com/users/sconix/orgs","repos_url":"https://api.github.com/users/sconix/repos","events_url":"https://api.github.com/users/sconix/events{/privacy}","received_events_url":"https://api.github.com/users/sconix/received_events","type":"User","site_admin":false},"created_at":"2017-11-24T15:19:02Z","updated_at":"2017-11-24T15:19:02Z","author_association":"CONTRIBUTOR","body":"Sounds odd, but I will test tomorrow."}}
{"actor":{"display_login":"sconix"}}