{"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":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-03-29T08:27:13Z","updated_at":"2018-04-23T23:42:24Z","closed_at":"2018-04-01T01:14:57Z","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/383756637","html_url":"https://github.com/gregnb/react-to-print/issues/7#issuecomment-383756637","issue_url":"https://api.github.com/repos/gregnb/react-to-print/issues/7","id":383756637,"user":{"login":"thamjieying","id":23531615,"avatar_url":"https://avatars2.githubusercontent.com/u/23531615?v=4","gravatar_id":"","url":"https://api.github.com/users/thamjieying","html_url":"https://github.com/thamjieying","followers_url":"https://api.github.com/users/thamjieying/followers","following_url":"https://api.github.com/users/thamjieying/following{/other_user}","gists_url":"https://api.github.com/users/thamjieying/gists{/gist_id}","starred_url":"https://api.github.com/users/thamjieying/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thamjieying/subscriptions","organizations_url":"https://api.github.com/users/thamjieying/orgs","repos_url":"https://api.github.com/users/thamjieying/repos","events_url":"https://api.github.com/users/thamjieying/events{/privacy}","received_events_url":"https://api.github.com/users/thamjieying/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T23:42:24Z","updated_at":"2018-04-23T23:42:24Z","author_association":"NONE","body":"I have tried on mac with chrome, firefox, Opera and safari, \r\nand windows on chrome firefox, Opera and edge.\r\n\r\nthe browser on mac always fails on the first attempt to download, as i have described,\r\non pc, chrome has the same problem, firefox rendered correctly on screen but style is never transferred to the downloaded pdf. Only opera and edge works fine on windows."}}
{"actor":{"display_login":"thamjieying"}}