@kodaris/krubble-app-components 1.0.142 → 1.0.144

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.
@@ -12197,6 +12197,11 @@ class KRRouter {
12197
12197
  if (anchor.target === '_blank') {
12198
12198
  return;
12199
12199
  }
12200
+ // Cmd/Ctrl-click (new tab), Shift-click (new window) and Alt-click (download) are browser
12201
+ // affordances — leave them to the browser rather than hijacking them into an in-app navigation.
12202
+ if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) {
12203
+ return;
12204
+ }
12200
12205
  e.preventDefault();
12201
12206
  KRRouter.navigate(anchor.pathname);
12202
12207
  });