{"action":"created","issue":{"url":"https://api.github.com/repos/gregnb/react-to-print/issues/7","repository_url":"https://api.github.com/repos/gregnb/react-to-print","labels_url":"https://api.github.com/repos/gregnb/react-to-print/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/gregnb/react-to-print/issues/7/comments","events_url":"https://api.github.com/repos/gregnb/react-to-print/issues/7/events","html_url":"https://github.com/gregnb/react-to-print/issues/7","id":309663445,"number":7,"title":"Sometimes a printable area is sent to print before styles have loaded.","user":{"login":"MikeSha","id":5299725,"avatar_url":"https://avatars1.githubusercontent.com/u/5299725?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeSha","html_url":"https://github.com/MikeSha","followers_url":"https://api.github.com/users/MikeSha/followers","following_url":"https://api.github.com/users/MikeSha/following{/other_user}","gists_url":"https://api.github.com/users/MikeSha/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeSha/subscriptions","organizations_url":"https://api.github.com/users/MikeSha/orgs","repos_url":"https://api.github.com/users/MikeSha/repos","events_url":"https://api.github.com/users/MikeSha/events{/privacy}","received_events_url":"https://api.github.com/users/MikeSha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-29T08:27:13Z","updated_at":"2018-03-30T10:33:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"It happens when copyStyles set to true. I have an idea how to fix it. I'll try it when I have a free time and I'll make a merge request.\r\nI think loading styles should be \"promisified\". When all styles is loaded, then `target.print()` should be called. Sorry for my English, I hope you understand what I mean :)"},"comment":{"url":"https://api.github.com/repos/gregnb/react-to-print/issues/comments/377498466","html_url":"https://github.com/gregnb/react-to-print/issues/7#issuecomment-377498466","issue_url":"https://api.github.com/repos/gregnb/react-to-print/issues/7","id":377498466,"user":{"login":"MikeSha","id":5299725,"avatar_url":"https://avatars1.githubusercontent.com/u/5299725?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeSha","html_url":"https://github.com/MikeSha","followers_url":"https://api.github.com/users/MikeSha/followers","following_url":"https://api.github.com/users/MikeSha/following{/other_user}","gists_url":"https://api.github.com/users/MikeSha/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeSha/subscriptions","organizations_url":"https://api.github.com/users/MikeSha/orgs","repos_url":"https://api.github.com/users/MikeSha/repos","events_url":"https://api.github.com/users/MikeSha/events{/privacy}","received_events_url":"https://api.github.com/users/MikeSha/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T10:33:57Z","updated_at":"2018-03-30T10:33:57Z","author_association":"CONTRIBUTOR","body":"Sure!"}}
{"actor":{"display_login":"MikeSha"}}