Black bars on IOS with <PdfView> component
sean-yeoh opened this issue · 2 comments
sean-yeoh commented
Hi @alpha0010, thanks for the library.
I'm currently getting weird black bars when using <PdfView>
component on IOS. It works fine on Android. Is there a way to fix this?
React Native version: 0.63
alpha0010 commented
Could you provide a pdf file the results in this behavior?
sean-yeoh commented
Hi @alpha0010 , I fixed it by adding a view with style { backgroundColor: 'transparent', borderColor: 'white', borderWidth: 8, position: 'absolute' }
with width and height of the pdfview and it seems to work ok. It's just a list of pdf thumbnails so it's not really noticeable.
Thanks!