Skip to content
This repository was archived by the owner on Feb 19, 2022. It is now read-only.
This repository was archived by the owner on Feb 19, 2022. It is now read-only.

Tapping without passing event throws reference exception #34

@emski

Description

@emski

please add event to tap like so:
tap: function tap(e) { // Call onClick indirectly so that React's Synthetic Touch Event doesn't propagate. // The resulting behavior should be that an options dropdown list can be scrolled // and only selects an option when a user has tapped an option without dragging the parent. this.props.onClick(e); }

otherwise, https://github.com/FormidableLabs/radon-select/blob/master/src/select.jsx#L255 would throw.
I am seeing you have recently patched that, but event could be passed correctly instead

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