Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): prevent from navigating to search page when opening command panel #2719

Merged
merged 1 commit into from Mar 30, 2024

Conversation

lazzzis
Copy link
Contributor

@lazzzis lazzzis commented Mar 29, 2024

Currently, opening command panel with shortcuts cmd+/ will navigate to search page as well.

This pr adds computed(() => keys.current.size === 1) to ensure other key combinations will not accidentally trigger this shortcut.

before:

Screen.Recording.2024-03-29.at.2.10.14.PM.mp4

after:

Screen.Recording.2024-03-29.at.2.11.37.PM.mp4

Copy link

stackblitz bot commented Mar 29, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

netlify bot commented Mar 29, 2024

Deploy Preview for elk-docs canceled.

Name Link
🔨 Latest commit d1195d0
🔍 Latest deploy log https://app.netlify.com/sites/elk-docs/deploys/6607306893a3bd000887ea34

Copy link

netlify bot commented Mar 29, 2024

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit d1195d0
🔍 Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/66073068f754f80008daca6c
😎 Deploy Preview https://deploy-preview-2719--elk-zone.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@lazzzis lazzzis changed the title fix: prevent from navigating to search page when opening command panel fix(ui): prevent from navigating to search page when opening command panel Mar 29, 2024
@patak-dev patak-dev added this pull request to the merge queue Mar 30, 2024
Merged via the queue into elk-zone:main with commit 42aeb8f Mar 30, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants