We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ac77da commit e0ceb4aCopy full SHA for e0ceb4a
src/Link.js
@@ -19,7 +19,7 @@ import {navigate, getBasepath} from "./router";
19
*/
20
export const setLinkProps = (props) => {
21
const onClick = (e) => {
22
- if (!e.shiftKey && !e.ctrlKey && !e.altKey && props.target !== "_blank")) {
+ if (!e.shiftKey && !e.ctrlKey && !e.altKey && !e.metaKey && props.target !== "_blank")) {
23
e.preventDefault(); // prevent the link from actually navigating
24
navigate(e.currentTarget.href);
25
}
0 commit comments