Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash <The specified child already has a parent> #82

Open
wangchongwei opened this issue Sep 15, 2017 · 0 comments
Open

Crash <The specified child already has a parent> #82

wangchongwei opened this issue Sep 15, 2017 · 0 comments

Comments

@wangchongwei
Copy link

when i use it like Example,it's crashed,
<The specified child already has a parent. You must call removeView() on the child's parent first.>
But it's ok when use like this:
return (

<PDFView
key={'sop'}
path={this.pdfPath}
pageNumber={1}
onLoadComplete={(pageCount) => {
this.setState({ pageCount });
console.log(pdf共有: ${pageCount}页);
}}
style={styles.pdf}
/>

);
But the PDF looks blurred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant