Hello everyone, I have previously posted 3 more questions on this forum and received zero answers. I am starting to lose hope If there is something wrong with the way I post my questions, please tell me
Now, to the main question, I am trying to use 3 TouchableHighlights at the bottom of my app. However when I try the app on an iPhone, and try to press one of these TouchableHighlights, it only activates the TouchableHighlight on the very right side. It does not matter which one I press, it always activates the one on the right. This problem does not happen in an android phone. Are there any of you that have encountered the same problem? If you know any solution to this problem please share it with me.
I also moved some of the styling. I have something similar to this but it uses TouchableOpacity. so I set yours up the way mine works, minus the TouchableHighlight of course
Hey, thank you for the reply, I tried the way you offered to me but right now I am having the same problem with ios. Well actually the problem changed a bit, this time I can only click the TouchableHighlight on the very right which is the one on the end of the code. The others are not even pressable. They still do not activate. Have you faced such a problem with Touchables in ios.
Addition: If the Touchables are vertically next to each other, it works. However, if the Touchables are horizontally next to each other, I still am having problems. This comment is for ios. I do not face any of these problems with android.
Maybe try swapping out to TouchableOpacity? I know the docs mention TouchableHighlight having some effect on layout but I donβt think they mentioned that for TouchableOpacity.
I have tried the TouchableOpacity as well, I am having the same problem on ios. Actually I have completely converted TouchableHighlights to TouchableOpacities, I liked opacity better
The audiobutton.primary can be seen below:
My only suggestion would maybe be to experiment with setting solid height and width values instead of the divided screen width and see if that makes a difference. Then work from there.