Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

ctrl + click on google chrome doesn't work #341

Closed
razaffina opened this issue Aug 14, 2020 · 1 comment
Closed

ctrl + click on google chrome doesn't work #341

razaffina opened this issue Aug 14, 2020 · 1 comment

Comments

@razaffina
Copy link

Version

1.9.1

Test Case

https://jsfiddle.net/Luktwrdm/54/

Steps to reproduce

Open project in google chrom.
Ctrl click the trigger component

Expected Behavior

The Context menu opens

Actual Behavior

No Context menu open

Possible fix

In ContextMenuTrigger.js>handleContextClick. Remove if statement checking that event.button === this.props.mousebutton. Replace with this.props.mousebutton === 2. This should fix the problem because in chrome a ctrl click event.button is 0 not 2.

@vkbansal
Copy link
Owner

see #339

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants