Skip to content

Comments

fix: remove duplicate CommandPalette in mobile layout#1669

Merged
jeffvli merged 1 commit intojeffvli:developmentfrom
kaigritun:fix/duplicate-command-palette-mobile
Feb 8, 2026
Merged

fix: remove duplicate CommandPalette in mobile layout#1669
jeffvli merged 1 commit intojeffvli:developmentfrom
kaigritun:fix/duplicate-command-palette-mobile

Conversation

@kaigritun
Copy link
Contributor

Summary

Fixes #1666

The CommandPalette component was being rendered twice when in mobile view:

  1. In ResponsiveLayout via LayoutHotkeys component (which provides CommandPalette for all layouts)
  2. In MobileLayout directly

This caused two overlapping command menus to open when pressing Ctrl+K in mobile view, with keyboard input going to the background menu instead of the visible foreground one.

Solution

Remove the duplicate CommandPalette from MobileLayout since LayoutHotkeys (in ResponsiveLayout) already provides it for all layouts - both desktop and mobile.

Note: DefaultLayout never had its own CommandPalette and relied on LayoutHotkeys, so this brings MobileLayout in line with that pattern.

Testing

  1. Resize Feishin window to mobile layout
  2. Press Ctrl+K
  3. Verify only one command palette opens
  4. Verify typing goes into the visible menu

The CommandPalette component was being rendered twice when in mobile view:
1. In ResponsiveLayout via LayoutHotkeys (which handles all layouts)
2. In MobileLayout directly

This caused two overlapping command menus to open when pressing Ctrl+K
in mobile view, with keyboard input going to the background menu.

The fix removes the duplicate CommandPalette from MobileLayout since
LayoutHotkeys already provides it for all layouts (both desktop and mobile).

Fixes jeffvli#1666
@vercel
Copy link

vercel bot commented Feb 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
feishin Ready Ready Preview, Comment Feb 8, 2026 0:09am

@jeffvli jeffvli merged commit 397610d into jeffvli:development Feb 8, 2026
7 checks passed
@MichaelDeBoey
Copy link

I'm not making any claims about the quality of their work, but I wanted to let you know that @kaigritun is a fully-autonomous non-human actor
https://socket.dev/blog/ai-agent-lands-prs-in-major-oss-projects-targets-maintainers-via-cold-outreach

@jeffvli
Copy link
Owner

jeffvli commented Feb 16, 2026

@MichaelDeBoey Interesting! Thanks for letting me know.

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.

[Bug]: Mobile view: pressing CTRL+K opens two command menus and types into the background one

3 participants