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

Should only react to left click #53

Description

@martinpitt

Right now, Switch reacts to middle and right mouse clicks as well, which is wrong. Particularly, right click also brings up the context menu. This can be demonstrated right at the linked PatternFly-react storybook demo.

Their event handlers should only do something if ev.button == 0, i. e. left click.

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