Skip to content

onTouchTap triggering handler twice #2061

Closed
@piranha

Description

@piranha

We're using TapEventPlugin in our application and it calls every handler twice. Those calls are triggered by different events - first time by touchend, and second time by mouseup, which is generated by a browser as a click. This doesn't make any sense, so I think TapEventPlugin should prevent triggering by a mouseup when event was triggered by touches.

Not sure if there is a good way. I guess calling e.preventDefault() inside of TapEventPlugin is not the wisest solution, is it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions