react-native-pdf icon indicating copy to clipboard operation
react-native-pdf copied to clipboard

Backgroundcolor of PDF in IOS is black

Open guilhermeadsferreira opened this issue 6 years ago • 5 comments

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

Describe your issue as precisely as possible : On the android platform the background color is gray but on the ios platform the background color is black

Join a screenshot or video of the problem on the simulator or device? WhatsApp Image 2020-02-02 at 15 14 42

guilhermeadsferreira avatar Feb 02 '20 18:02 guilhermeadsferreira

auto theme varies by device theme but we need to fix it

ahmetozalp avatar Feb 06 '20 07:02 ahmetozalp

Try set parent background

wonday avatar Feb 06 '20 08:02 wonday

Try set parent background

not working.

ahmetozalp avatar Feb 06 '20 08:02 ahmetozalp

Yeah, this seems like a bug... I think it's a dark/light mode thing, but you should be able to override.

bmovement avatar May 11 '20 21:05 bmovement

Looks like we need focus this issue @wonday . I meet problem where my pdf is broken because some background transparent and get parent bg color when using darkmode.

Works fine on browser Mozilla 103.0.1 (using dark mode)

shiroze avatar Aug 04 '22 04:08 shiroze