{"action":"closed","issue":{"url":"https://api.github.com/repos/aFarkas/lazysizes/issues/570","repository_url":"https://api.github.com/repos/aFarkas/lazysizes","labels_url":"https://api.github.com/repos/aFarkas/lazysizes/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/aFarkas/lazysizes/issues/570/comments","events_url":"https://api.github.com/repos/aFarkas/lazysizes/issues/570/events","html_url":"https://github.com/aFarkas/lazysizes/issues/570","id":388608598,"node_id":"MDU6SXNzdWUzODg2MDg1OTg=","number":570,"title":"Does lazysizes also load display:none elements?","user":{"login":"stratboy","id":437598,"node_id":"MDQ6VXNlcjQzNzU5OA==","avatar_url":"https://avatars3.githubusercontent.com/u/437598?v=4","gravatar_id":"","url":"https://api.github.com/users/stratboy","html_url":"https://github.com/stratboy","followers_url":"https://api.github.com/users/stratboy/followers","following_url":"https://api.github.com/users/stratboy/following{/other_user}","gists_url":"https://api.github.com/users/stratboy/gists{/gist_id}","starred_url":"https://api.github.com/users/stratboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stratboy/subscriptions","organizations_url":"https://api.github.com/users/stratboy/orgs","repos_url":"https://api.github.com/users/stratboy/repos","events_url":"https://api.github.com/users/stratboy/events{/privacy}","received_events_url":"https://api.github.com/users/stratboy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-07T11:07:20Z","updated_at":"2018-12-07T21:17:25Z","closed_at":"2018-12-07T21:17:25Z","author_association":"NONE","body":"Hi, I have some elements that, in small screens don't have images, while in large screens they will.\r\nSo I would like lazysizes not to load images until the large breakpoint is reached.\r\n\r\nProbably I will use display: none on elements inner images > will lazysizes respect the fact that images are hidden? Or will it load them anyway?\r\n\r\nAnd/or, what's the best practice for achieving this result (loading images only on large breakpoints?)\r\n\r\nAlso, maybe i will need to do it with backgrounds instead of img tags, and thus I'll use bgset (for tech reasons, I cannot use object-fit for the moment).\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"aFarkas"}}