Skip to content

Handling onClick #38

Description

@theog

Would like to use this component to wrap a toggle button. Having the dual behaviour of swiping and clicking to toggle the buttons on off state.

The issue appears to be when a swipe event occurs, both the onSwipe and the onClick are called, two events being triggered caused the toggle to update twice.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions