Merge pull request #782 from ih8sun/feature/improve-macos-searchmenu
📦 Build / 🛠️ Build app (push) Has been cancelled
🧑‍🚀 Check / ⚙️ Linting (push) Has been cancelled
🧑‍🚀 Check / 📦 SVGs Size (push) Has been cancelled
🚀 Deploy / ☁️ API (push) Has been cancelled

🛠️Adds native macOS shortcut support for opening the search menu
This commit is contained in:
Pablo Hdez
2025-09-30 17:51:48 +01:00
committed by GitHub
+1 -1
View File
@@ -29,7 +29,7 @@
};
const handleKeydown = (event: KeyboardEvent) => {
if (event.ctrlKey && event.key === "k") {
if ((event.metaKey || event.ctrlKey) && event.key.toLowerCase() === "k") {
event.preventDefault();
inputElement?.focus();
}