Touch onPress is not working
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
docToolchain/docToolchain#1705 ·
-
Timezone select lists one option per character; duplicate "Failed" reason; shared tracker popover id Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1414 ·
-
bug v2
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
modelcontextprotocol/inspector#2458 · 1 comment ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
carbon-design-system/ibm-products#9907 ·