[PR #830] [MERGED] fix: keyboard shortcut ctrl+k fixed #1195

Closed
opened 2026-02-26 19:32:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/830
Author: @hiteshwadhwani
Created: 1/13/2024
Status: Merged
Merged: 1/16/2024
Merged by: @Mythie

Base: mainHead: fix/bug-829-keyboard-shortcut


📝 Commits (1)

  • 7e71e06 fix: keyboard shortcut ctrl+k default behaviour fixed

📊 Changes

1 file changed (+2 additions, -3 deletions)

View changed files

📝 apps/web/src/components/(dashboard)/common/command-menu.tsx (+2 -3)

📄 Description

Description

fixed the ctrl+k shortcut which by default browser focuses on omnibox (search bar).

Changes

added preventDefault option in useHotkeys function as mentioned in react hotkeys hook docs

issue

closes #829


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/830 **Author:** [@hiteshwadhwani](https://github.com/hiteshwadhwani) **Created:** 1/13/2024 **Status:** ✅ Merged **Merged:** 1/16/2024 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `fix/bug-829-keyboard-shortcut` --- ### 📝 Commits (1) - [`7e71e06`](https://github.com/documenso/documenso/commit/7e71e06e04bc991856beccec3b11648a853ee40a) fix: keyboard shortcut ctrl+k default behaviour fixed ### 📊 Changes **1 file changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/components/(dashboard)/common/command-menu.tsx` (+2 -3) </details> ### 📄 Description ### Description fixed the ctrl+k shortcut which by default browser focuses on omnibox (search bar). ### Changes added preventDefault option in useHotkeys function as mentioned in react hotkeys hook docs ### issue closes #829 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:32:14 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1195
No description provided.