Skip to content

The event "mousedown" is not fired on mobile properly #11

Open
@dmitrika

Description

@dmitrika

I'm using 'react-dates' library and on my iphone5 handler onOutsideClick is not fired properly.
It's fired when I click on the button, but not if I click on an empty space background.

I've added 'touchstart' event for my component and now it's fine.

Can we extend current event listener with touchstart?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions