Using RN 0.63.4 and trying to implement a touchable card in Android environment.
The code is pretty simple:
<TouchableOpacity onPress={() => handlePress()}>
<ArticleContainer>
....
</ArticleContainer>
</TouchableOpacity>
This is the CSS for the ArticleContainer
const ArticleContainer = styled.View`
height: 170px;
width: 320px;
border-radius: 11px;
padding: 13px;
margin: 20px 15px 10px 20px;
elevation: 5;
background-color: white;
`;
The UI looks fine when not touched, even the elevation looks pretty good:
But when trying to touch it, it becomes so ugly, look at the weird shadows and border:
Found only a few answers in StackOverflow and one in the official GitHub which both didn't work for me.
Is there is a way to solve that?





