wonday / react-native-pdf

A <Pdf /> component for react-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG: Scroll indicator is not visible on android

SayeedAfridi opened this issue · comments

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%',
},