diff --git a/lib/DraggableCore.js b/lib/DraggableCore.js index f9d67d0a..505be625 100644 --- a/lib/DraggableCore.js +++ b/lib/DraggableCore.js @@ -291,8 +291,8 @@ export default class DraggableCore extends React.Component { // Make it possible to attach event handlers on top of this one. this.props.onMouseDown(e); - // Only accept left-clicks. - if (!this.props.allowAnyClick && typeof e.button === 'number' && e.button !== 0) return false; + // Only accept left-clicks. On macOS, ctrl+click is equivalent to right-click. + if (!this.props.allowAnyClick && ((typeof e.button === 'number' && e.button !== 0) || e.ctrlKey)) return false; // Get nodes. Be sure to grab relative document (could be iframed) const thisNode = this.findDOMNode();