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

Pan doesn't work in direction of page change [iOS] #15

Closed
frmrgr opened this issue Jun 21, 2017 · 1 comment
Closed

Pan doesn't work in direction of page change [iOS] #15

frmrgr opened this issue Jun 21, 2017 · 1 comment

Comments

@frmrgr
Copy link

frmrgr commented Jun 21, 2017

<PDF
    style={{flex: 1, backgroundColor: 'white'}}
    source={{uri: 'myfile.pdf', cache: true}}
    page={1}
/>

If I pinch-zoom this view, I cannot move pdf "inside it" up and down, but can horizontally. If I pass horizontal={true} prop, then it stops moving left-right, but vertical pan starts working well. On a side note, maybe there could be a enableGestureDraw={true} prop, which would allow passing false and disabling annoying bouncing on one-page documents?

@wonday
Copy link
Owner

wonday commented Jul 4, 2017

I have improve it.
You can have a look at v1.2.2.

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

2 participants