Skip to content

iOS / Android Mismatch in onTap #14

Description

@erandagan

On android, the onTap event contains the following parameters:
{x: number, y: number, scale:number}

However, on iOS, the parameters are { point: { x:number, y:number}, target: number } (where target is the react tag of the tapped view).

Moreover, on iOS, x and y are normalized according to the scale already (see this line)

It would be great if the two platforms could provide the same behaviour here. I'd be happy to submit a PR to make the required changes, though it's worth noting that this is a breaking change.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions