Skip to content

Android New Architecture no press event. #154

@TomAtterton

Description

@TomAtterton

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

So bit of a weird issue when running the latest version 2.0.3 and the new architecture on android, the onPress events of children seem to be getting swallowed. I see that the interaction is happening with opacity changing but then no event is being sent to JS side meaning the onPress doesn't get triggered.

Not 100% sure if another library is conflicting I am running through the android code now but just though i'd raise this bug incase anyone else had encountered this.

Update: Holding the button with one finger and pressing with another seems to enable the event callback.

Library version

2.0.3

Environment info

"react-native": "^0.77.1",

Steps to reproduce

..

Reproducible example repository

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions