{"action":"created","issue":{"url":"https://api.github.com/repos/TradeMe/ng-defer-load/issues/20","repository_url":"https://api.github.com/repos/TradeMe/ng-defer-load","labels_url":"https://api.github.com/repos/TradeMe/ng-defer-load/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/TradeMe/ng-defer-load/issues/20/comments","events_url":"https://api.github.com/repos/TradeMe/ng-defer-load/issues/20/events","html_url":"https://github.com/TradeMe/ng-defer-load/issues/20","id":379028374,"node_id":"MDU6SXNzdWUzNzkwMjgzNzQ=","number":20,"title":"deferLoad not working in Child Components","user":{"login":"booellean","id":22628290,"node_id":"MDQ6VXNlcjIyNjI4Mjkw","avatar_url":"https://avatars3.githubusercontent.com/u/22628290?v=4","gravatar_id":"","url":"https://api.github.com/users/booellean","html_url":"https://github.com/booellean","followers_url":"https://api.github.com/users/booellean/followers","following_url":"https://api.github.com/users/booellean/following{/other_user}","gists_url":"https://api.github.com/users/booellean/gists{/gist_id}","starred_url":"https://api.github.com/users/booellean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/booellean/subscriptions","organizations_url":"https://api.github.com/users/booellean/orgs","repos_url":"https://api.github.com/users/booellean/repos","events_url":"https://api.github.com/users/booellean/events{/privacy}","received_events_url":"https://api.github.com/users/booellean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-09T05:28:42Z","updated_at":"2018-12-06T08:15:11Z","closed_at":null,"author_association":"NONE","body":"I did not try with the app.module, but I followed the example link pretty closely and this is the only difference I could find.\r\n\r\nWhen deferLoad is used in a child component, it will load all images that are presently in the initial viewport but fail to load any images on new images that come to the viewport thereafter."},"comment":{"url":"https://api.github.com/repos/TradeMe/ng-defer-load/issues/comments/444785611","html_url":"https://github.com/TradeMe/ng-defer-load/issues/20#issuecomment-444785611","issue_url":"https://api.github.com/repos/TradeMe/ng-defer-load/issues/20","id":444785611,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDc4NTYxMQ==","user":{"login":"BasilioB","id":26439027,"node_id":"MDQ6VXNlcjI2NDM5MDI3","avatar_url":"https://avatars3.githubusercontent.com/u/26439027?v=4","gravatar_id":"","url":"https://api.github.com/users/BasilioB","html_url":"https://github.com/BasilioB","followers_url":"https://api.github.com/users/BasilioB/followers","following_url":"https://api.github.com/users/BasilioB/following{/other_user}","gists_url":"https://api.github.com/users/BasilioB/gists{/gist_id}","starred_url":"https://api.github.com/users/BasilioB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BasilioB/subscriptions","organizations_url":"https://api.github.com/users/BasilioB/orgs","repos_url":"https://api.github.com/users/BasilioB/repos","events_url":"https://api.github.com/users/BasilioB/events{/privacy}","received_events_url":"https://api.github.com/users/BasilioB/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T08:15:11Z","updated_at":"2018-12-06T08:15:11Z","author_association":"NONE","body":"Ok, I'm gone deeper and found out: \r\n\r\nObject.keys(entry).length in line 80 is 0 so the fallback (check page and element offset isVisible()) is taken to check, whether to load the image or not. But entry is an IntersectionObserverEntry with keys and values inside.\r\n\r\nNow, all offsets of images where smaller than scrollY + clientHeight, cause they where not loaded and didnt take any space. If I give them space it works. But upper problem still exists. "}}
{"actor":{"display_login":"BasilioB"}}