Closed
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Description
Is this a bug report?
TouchableOpacity can't call onPress method in iPhone 6sP.
When TouchableOpacity cantains a View ,
The View contains two View(top and bottom)
top can call onPress but bottom can't,in iPhone 6sP
(write your answer here)
Have you read the Contributing Guidelines?
(Write your answer here.)
Environment
react-native -0.48.1:node -v8.1.4:npm -5.4.1:yarn --v0.23.4:
Then, specify:
- Target Platform:
- Development Operating System:
- Build tools:
Steps to Reproduce
(Write your steps here:)
1.A View ,inside ,top is Text,bottom is View
2. TouchableOpacity contains the View,not defined TouchableOpacity's style
3.iPhone 6p:touch bottom View is normal,
but,iPhone 6s P:touch bottom View is can't call onPress
Expected Behavior
(Write what you thought would happen.)
Actual Behavior
(Write what happened. Add screenshots!)
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
Metadata
Metadata
Assignees
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Activity
radko93 commentedon Sep 13, 2017
@facebook-github-bot needs-repro
facebook-github-bot commentedon Sep 13, 2017
Can you reproduce the issue using Snack? This step is necessary for people to be able to see and debug the issue being reported. See "How to Contribute".
Norfeldt commentedon Oct 28, 2017
I tumbling a bit around with this as well until I found a solution that might help you. As oppose to the parent component you are not allowed to use
thisin the pure child component. So it should look like this:An even cleaner solution
stale commentedon Dec 27, 2017
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.