Skip to content

TouchableOpacity can't call onPress props. #15927

Description

@kaelinda

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

  1. react-native -0.48.1:
  2. node -v8.1.4:
  3. npm -5.4.1:
  4. 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.)

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

    Ran CommandsOne of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions