mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-17 19:20:39 +09:00
Prevent g c from leaking into global shortcuts
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
ba5cb34bed
commit
e15b5412ec
3 changed files with 64 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue