Reputation: 1565
Currently getting an error when ever clicking on a react TouchableOpacity control.
Upvotes: 2
Views: 1067
Reputation: 4436
Using <TouchableHighlight>
instead of <TouchableOpacity>
will prevent the crash and you can still use the transform.
Upvotes: 0
Reputation: 1565
I was able to fix by removing the transform from StyleSheet.
transform: [
{
rotate: '45deg'
}
]
Upvotes: 4