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

inner components onPress is not working well. #60

Open
ManigandanRaamanathan opened this issue May 13, 2020 · 3 comments
Open

inner components onPress is not working well. #60

ManigandanRaamanathan opened this issue May 13, 2020 · 3 comments

Comments

@ManigandanRaamanathan
Copy link

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.

@ManigandanRaamanathan
Copy link
Author

example code:-

<Gestures
                rotatable={true}
                scalable={{
                    min: 1,
                    max: 7,
                }}
                draggable={true}
            >
                <View>
                    <Text
                        onPress={()=>{
                            this.onPressText()
                        }}
                    >
                        {this.state.text}
                    </Text>
                </View>
            </Gestures>

@ManigandanRaamanathan
Copy link
Author

@keske created pull request for review.

@adriandiaz
Copy link

Having same issue on Android. iOS seems to work

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