oblador / react-native-lightbox

Images etc in Full Screen Lightbox Popovers for React Native
MIT License
2.82k stars 502 forks source link

Remove touchableHighlight (black background) #111

Closed nica0012 closed 5 years ago

nica0012 commented 5 years ago

Hello.

I have margin on my images so when I press on one an ugly black background shows up while pressing. How can I go about removing this?

Cheers.

WestFR commented 5 years ago

You can directly use underlayColor={'transparent'} on your Lightbox component ! Read doc or library file can help you without create a new issue.

So, this issue can be closed !

ajaymarathe9 commented 4 years ago

You can directly use underlayColor={'transparent'} on your Lightbox component ! Read doc or library file can help you without create a new issue.

So, this issue can be closed !

Setting underlayColor={'transparent'} to TouchableHighlight resolving the issue Thanks. ` <TouchableHighlight underlayColor={'transparent'} onPress={() => this.TapToContinue()}

// Hello

`

kelly-draper-nutrien-com commented 3 years ago

using TouchableOpacity instead of TouchableHighlight also works to get rid of the black background on press