Skip to content

Conversation

@necolas
Copy link
Contributor

@necolas necolas commented Dec 9, 2019

Tools like BetterTouchTool for macOS trigger middle-clicks with a 'buttons'
value that doesn't correspond to the middle-mouse button. To account for this
we also inspect the value of 'button'.

Close #17367

@codesandbox-ci
Copy link

codesandbox-ci bot commented Dec 9, 2019

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 03e8bcd:

Sandbox Source
stupefied-wiles-mvus5 Configuration

Copy link
Contributor

@trueadm trueadm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. You have a typo in the comment though.

Tools like BetterTouchTool for macOS trigger middle-clicks with a 'buttons'
value that doesn't correspond to the middle-mouse button. To account for this
we also inspect the value of 'button'.

Close facebook#17367
@necolas necolas force-pushed the react-interactions/middle-clicks branch from e0bc7ac to 03e8bcd Compare December 9, 2019 13:02
@necolas necolas merged commit 9e937e7 into facebook:master Dec 9, 2019
@necolas necolas deleted the react-interactions/middle-clicks branch December 20, 2019 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants