{"action":"closed","issue":{"url":"https://api.github.com/repos/wonday/react-native-pdf/issues/244","repository_url":"https://api.github.com/repos/wonday/react-native-pdf","labels_url":"https://api.github.com/repos/wonday/react-native-pdf/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/wonday/react-native-pdf/issues/244/comments","events_url":"https://api.github.com/repos/wonday/react-native-pdf/issues/244/events","html_url":"https://github.com/wonday/react-native-pdf/issues/244","id":363505569,"node_id":"MDU6SXNzdWUzNjM1MDU1Njk=","number":244,"title":"Loading more than 2 PDF's render bug","user":{"login":"linnett","id":2244545,"node_id":"MDQ6VXNlcjIyNDQ1NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2244545?v=4","gravatar_id":"","url":"https://api.github.com/users/linnett","html_url":"https://github.com/linnett","followers_url":"https://api.github.com/users/linnett/followers","following_url":"https://api.github.com/users/linnett/following{/other_user}","gists_url":"https://api.github.com/users/linnett/gists{/gist_id}","starred_url":"https://api.github.com/users/linnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linnett/subscriptions","organizations_url":"https://api.github.com/users/linnett/orgs","repos_url":"https://api.github.com/users/linnett/repos","events_url":"https://api.github.com/users/linnett/events{/privacy}","received_events_url":"https://api.github.com/users/linnett/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-25T10:15:56Z","updated_at":"2018-11-03T08:58:59Z","closed_at":"2018-11-03T08:58:59Z","author_association":"NONE","body":"Using react-native-tab-view (https://github.com/react-native-community/react-native-tab-view) and having 3 tabs, 1 PDF per tab, the 3rd PDF displays blurry and poorly rendered until the user interacts with it and then it renders correctly. I tired this with a 4th tab and that also has the same failure, but tabs 1 and 2 show correctly. I moved the PDFs around to ensure it wasn't the PDF itself.\r\n\r\nThe code:\r\n\r\n```\r\nconst source = { uri: `${RNFetchBlob.fs.dirs.DocumentDir}/${lang}/${type}.pdf` };\r\n\r\n<Pdf\r\n  source={source}\r\n  fitPolicy={0}\r\n  style={{ \r\n    flex: 1,\r\n    width: Dimensions.get('window').width,\r\n    backgroundColor: '#FFFFFF'\r\n  }}\r\n/>\r\n```\r\n\r\nRN: 0.51\r\nreact-native-pdf: 5.0.5\r\nPlatform: iOS.\r\n"}}
{"actor":{"display_login":"wonday"}}