Skip to content

Touch onPress is not working #3

Description

@lcr0815

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions