Remove Opacity when button is clicked
KishPatel1996 opened this issue ยท 4 comments
KishPatel1996 commented
Is there a way to prevent touchableopacity when a tab is clicked?
Another solution may be to set activeOpacity to 1.0, but not sure where to do that as well. Any help on this would be appreciated!
KishPatel1996 commented
Any help on this would be greatly appreciated. thanks
Shakarang commented
Hey @KishPatel1996
What is did is to directly modify the react-native-tabs
module in my app.
In the index.js
file line 36 you have the TouchableOpacity
component.
Just add this property will do the trick but when it will be erased when you will update the module.
activeOpacity={1}
Check this PR : #32
KishPatel1996 commented
Hi @Shakarang , thanks for the answer!
nguyenvanphuc2203 commented
@Shakarang tks! it exactly my issue