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

fix(ios): loss of touch end or cancel event in multi-finger scenarios #3892

Merged
merged 2 commits into from
Jun 11, 2024

Commits on Jun 11, 2024

  1. fix(ios): loss of touch end or cancel event in multi-finger scenarios

    In a multi-finger scenario,
    the _touchBeganView local variable only records the last touch view
    since touch began is entered multiple times,
    causing the began and cancel/end events to be unmatched.
    
    To fix this, we use a simple approach -
    that record all touch began Views and send events to all recorded views at the end.
    
    Please note that we have not fully adapted the multi-fingered scenario.
    wwwcg committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    0fc29d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4a5bfc View commit details
    Browse the repository at this point in the history