Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevents Link onclick behaviour from executing if the Ctrl key (for Windows and Linux) or Meta Key (For Mac) is pressed. This technically introduces a bug that means that links will reload the page on windows machines when the windows key is held down. However, this error is also in React Router, so I think we can get away with it. See: https://github.com/remix-run/react-router/blob/11156ac7f3d7c1c557c67cc449ecbf9bd5c6a4ca/packages/react-router-dom/dom.ts#L29
- Loading branch information