Open ManigandanRaamanathan opened 4 years ago
example code:-
<Gestures
rotatable={true}
scalable={{
min: 1,
max: 7,
}}
draggable={true}
>
<View>
<Text
onPress={()=>{
this.onPressText()
}}
>
{this.state.text}
</Text>
</View>
</Gestures>
@keske created pull request for review.
Having same issue on Android. iOS seems to work
inner components onPress is not working well. The touchable onPress props of components inside the gestures are not picked up more often. As whenever we touch the content, it starts to move the component around. Therefore, the onPress is only working when the touch we made did not cause movement over the component.