[GH-ISSUE #2033] [bug]: Search and Command menu shortcut not working with zen mode #662

Closed
opened 2026-03-16 16:34:45 +03:00 by kerem · 0 comments
Owner

Originally created by @anwarulislam on GitHub (Dec 20, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2033

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

If I turn on the zen mode the search and command menu shortcut / (slash button to open) not working.

Steps to reproduce

We should import the <PowerSearch.vue> component into the default layout component. And we can open that component only by simulating / (slash key).

Here's how we can do this.

document.dispatchEvent(new KeyboardEvent('keydown',{'key':'/'}))

^this script should run when the search button gets clicked and the command menu will open. since it's already imported in the default layout.

Environment

Production

Version

Cloud

Originally created by @anwarulislam on GitHub (Dec 20, 2021). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2033 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior If I turn on the zen mode the search and command menu shortcut `/` (slash button to open) not working. ### Steps to reproduce We should import the `<PowerSearch.vue>` component into the default layout component. And we can open that component only by simulating `/` (slash key). Here's how we can do this. ``` document.dispatchEvent(new KeyboardEvent('keydown',{'key':'/'})) ``` ^this script should run when the search button gets clicked and the command menu will open. since it's already imported in the default layout. ### Environment Production ### Version Cloud
kerem 2026-03-16 16:34:45 +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/hoppscotch#662
No description provided.