Hi!
I would like to know if the following is expected:
"react-native": "0.50.3"
"native-base": "^2.3.3"
ListItem touchable effects like native. Transparent button touchable effects in android.
ListItem touchable effects is hard to see. Transparent button does not have touchable effects in android.
https://gitlab.com/vh.pegoraro/native_base_test
https://www.dropbox.com/s/dlzc51lr3b59aka/Native%20Base%20Test.mov?dl=0
ListItem is present in both. Transparent button only in android.
No.
@vhpegoraro no, these are not expected results. Marking this as bug.
Same here.
Also very weird touchable effect on ios, same as shown in @vhpegoraro 's video.
I started to see this problem on ios when I updated from 2.3.1 to 2.3.3. Not sure if 2.3.2 is still okay.
I managed to fix the problem on the transparent buttons by changing the variable androidRippleColor in the theme variables file to a darker one as it was set to white with an opacity. This doesn't seem to have had any effect on the list items though.
I was able to fix this by making the ListItem background color transparent. Possibly related to https://github.com/GeekyAnts/NativeBase/blob/master/src/theme/variables/platform.js#L210 added in https://github.com/GeekyAnts/NativeBase/commit/e67095fb970a7200a2f167840c63daacdd7b3a04#diff-e2d9b13af5e71dd243814626dcc96107
Thank you guys !!! Changing the variable androidRippleColor and ListItem background as @dylandupreez and @digitaltoad comments solved the issues !!!
Fixed with 2.3.7
Most helpful comment
I was able to fix this by making the
ListItembackground color transparent. Possibly related to https://github.com/GeekyAnts/NativeBase/blob/master/src/theme/variables/platform.js#L210 added in https://github.com/GeekyAnts/NativeBase/commit/e67095fb970a7200a2f167840c63daacdd7b3a04#diff-e2d9b13af5e71dd243814626dcc96107