@kodaris/krubble-app-components 1.0.143 → 1.0.145

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12200,6 +12200,11 @@
12200
12200
  if (anchor.target === '_blank') {
12201
12201
  return;
12202
12202
  }
12203
+ // Cmd/Ctrl-click (new tab), Shift-click (new window) and Alt-click (download) are browser
12204
+ // affordances — leave them to the browser rather than hijacking them into an in-app navigation.
12205
+ if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) {
12206
+ return;
12207
+ }
12203
12208
  e.preventDefault();
12204
12209
  KRRouter.navigate(anchor.pathname);
12205
12210
  });