Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger non-touch events on box-none targets #906

Merged

Commits on Jan 22, 2022

  1. Trigger non-touch events on box-none targets

    Currently, this library disables _all_ events for a target with
    `pointerEvents="box-none"`. This behavior is counter to how React Native
    itself functions. This change continues to disable touch events, e.g.
    `press`, for targets set to "box-none", but allows triggering non-touch
    events, e.g. `layout`, `touchStart`.
    dcalhoun committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    0e0664f View commit details
    Browse the repository at this point in the history
  2. Event triggers target box-none View instead of child

    This approach more closely aligns with the original failing test case.
    dcalhoun committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    dd08c31 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. Rename events in test description

    Attempt to better communicate the test is focused on ensuring that touch
    events continue to trigger (e.g. `touchStart`), but the final event from
    a touch tap does not trigger.
    dcalhoun committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    4e58922 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Merge branch 'main' of https://github.com/callstack/react-native-test…

    …ing-library into trigger-non-touch-events-on-box-none-targets
    dcalhoun committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    e504406 View commit details
    Browse the repository at this point in the history