Skip to content

Touch events in nested absolute positioned views not working on Android #27333

Description

@AdamGerthel

When nesting a touchable surface in absolute positioned views, Android will display the children correctly according to style rules, but not handle the touch event. It works as expected on iOS.

React Native version: 0.59

Steps To Reproduce

Create two views, both absolutely positioned (one as child to the other) and place a button or (whatever that uses a touch event) in the child view. Attempt to use the button.

Describe what you expected to happen:
I would expect the touchable surfaces to work (onPress events etc.)

Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/@insats/android-positioning-bug

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

    BugPlatform: AndroidAndroid applications.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