wonday / react-native-pdf

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

BUG: Scroll indicator is not visible on android #828

Open SayeedAfridi opened 7 months ago

SayeedAfridi commented 7 months ago

What react-native version are you using? version: 0.72.4

What react-native-pdf version are you using? version: 6.4.0

What platform does your issue occur on? (android/ios/both) Android

Describe your issue as precisely as possible : Scroll indicator is not visible for multipage PDF. This is happening only for android. iOS is working fine with the same code.

1) Steps to reproduce the issue or to explain in which case you get the issue View a multipage PDF on android. 2) Interesting logs N/A

Join a screenshot or video of the problem on the simulator or device? N/A

Show us the code you are using? component

<View style={styles.pdfContainer}>
  <Pdf
    source={{
      uri,
    }}
    style={styles.pdfView}
    trustAllCerts={false}
  />
</View>

styles

pdfContainer: {
    marginTop: theme.spacing.s6,
    height: '90%',
},
pdfView: {
  flex: 1,
  width: '100%',
},