[Glitch] Do not override ctrl/cmd+click in media gallery
parent
121747b190
commit
d83eb4f9c7
|
@ -70,7 +70,7 @@ class Item extends React.PureComponent {
|
|||
handleClick = (e) => {
|
||||
const { index, onClick } = this.props;
|
||||
|
||||
if (e.button === 0) {
|
||||
if (e.button === 0 && !(e.ctrlKey || e.metaKey)) {
|
||||
e.preventDefault();
|
||||
onClick(index);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue