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

Touch onPress is not working #3

Open
lcr0815 opened this issue Jul 1, 2018 · 1 comment
Open

Touch onPress is not working #3

lcr0815 opened this issue Jul 1, 2018 · 1 comment

Comments

@lcr0815
Copy link

lcr0815 commented Jul 1, 2018

question:

is this module for iOS only because it DOES NOT WORK ON ANDROID!....

<Touchable feedback='opacity' onPress={()=>console.log('this onPress CODE DOES NOT WORK!')}

Using v.2.0.0 with the latest version of React-native and "styled-components" v.3.3.3

const Button = styled(Touchable).attrs({ feedback: 'opacity', })
flex: 1;
flex-direction: row;
justify-content: space-around;
align-items: center;
padding-horizontal: 10px;

@EQuimper
Copy link
Member

@LCarlos-Rodriguez I just get the same error as you and figure out the problem was the fact I did use a modal. Look like it's a bug in gesture software-mansion/react-native-gesture-handler#139

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