wonday / react-native-pdf

A <Pdf /> component for react-native
MIT License
1.59k stars 546 forks source link

Starting Page is little bit scrolled up when {cache: true} #778

Open ng-ha opened 11 months ago

ng-ha commented 11 months ago

What react-native version are you using? 0.71.4 What react-native-pdf version are you using? 0.71.4 What platform does your issue occur on? (android/ios/both) both

Show us the code you are using? <Pdf source={source} spacing={1} fitPolicy={2} enablePaging={false} trustAllCerts={false} scale={1} style={{flex: 1}} renderActivityIndicator={renderActivityIndicator} onError={onError} onPressLink={onPressLink} />

first download from uri is rendered correctly, after that, when get file form cache, starting page is little bit scrolled up. This issue #213 happens again in v0.71.4

jamesedmonston commented 10 months ago
Screenshot 2023-11-27 at 11 57 46

I'm seeing this too. It loads correctly the first time, but then is scrolled a little on subsequent loads.

Darren120 commented 4 months ago

any update?

kuldip-simform commented 2 months ago

Any update on this. I am also seeing this. Any solutions will be really helpful.