Prevent g c from leaking into global shortcuts

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dotta 2026-04-08 11:12:01 -05:00
parent ba5cb34bed
commit e15b5412ec
3 changed files with 64 additions and 0 deletions

View file

@ -1332,11 +1332,13 @@ export function IssueDetail() {
disarm();
if (action === "navigate_inbox") {
event.preventDefault();
event.stopPropagation();
navigate(sourceBreadcrumb.href.startsWith("/inbox") ? sourceBreadcrumb.href : "/inbox");
return;
}
if (action === "focus_comment") {
event.preventDefault();
event.stopPropagation();
setDetailTab("chat");
setPendingCommentComposerFocusKey((current) => current + 1);
}