Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Touch onPress is not working

Open
#3 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, react-native
Domain
mobile

Research direction

Start by reproducing the supplied Touchable and styled-components example on Android with react-native-touchable v2.0.0 and the reported React Native version. The issue names no source file or test, so trace the Touchable onPress path and compare it with the iOS behavior. Done means the shown onPress callback fires on Android.

Written by the indexing model from the issue text.

Description

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;

Dominant language
JavaScript
Stars
46
Forks
5
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.