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

Remove touchableHighlight (black background)

Open nica0012 opened this issue 7 years ago • 3 comments

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.

nica0012 avatar Dec 10 '18 14:12 nica0012

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 !

WestFR avatar Dec 17 '18 14:12 WestFR

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()} > <View> // Hello </View> </TouchableHighlight>

ajaymarathe9 avatar Aug 10 '20 08:08 ajaymarathe9

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