Skip to content

Regression: pointer-events:"none" is no longer respected by child components in version 0.21.0 #2794

@ericpoulinnz

Description

@ericpoulinnz

Is there an existing issue for this?

  • I have searched the existing issues

Describe the issue

I have a view which has pointer events set to none, however a child component with an onPress event can now be triggered. Reverting to 0.20.0 fixes the issue. I suspect #2789 caused this regression

Expected behavior

pointer-events:"none" should block all child/grandchild pointer events

Steps to reproduce

  1. Create a View with pointer-events:"none"
  2. Create a child component with an onPress event
  3. Press the child and see the event is triggered

Test case

NA

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions