Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image with TouchableHighlight onPress not working after image rotated 90 degrees #52

Open
idoor88 opened this issue Feb 21, 2020 · 1 comment

Comments

@idoor88
Copy link

idoor88 commented Feb 21, 2020

Hi, I have code as following:
<Gestures key={keyIndex} style={{flex:1, position: "absolute", top: top, left: left}}
onEnd={(event, styles) => {
}}
onScaleEnd={(event, styles) => {
}}
onRotateEnd={(event, styles) => {
}}>

<Image
style={imageStyle}
source={{uri: item.uri}}
/>


when I press the image and do not rotate the image or rotate <45 degrees, the handler onPressImage get called, but if I rotate the image more than 90 degrees, no matter how hard I press the image, the handler onPressImage never got called.

Any clues?
Thanks for help in advance!

@ManigandanRaamanathan
Copy link

@idoor88 did you find any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants