cheeaun / cheeaun/phanpy

Browser keyboard shortcut unexpectedly registering as Phanpy shortcut

Open
#1,515 1 comment 1 reaction 0 assignees View on GitHub
bug keyboard-shortcuts
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

### Site

phanpy.social

### Version

2026.05.15.67947a9

### Instance

sunny.garden

### Browser

Firefox Nightly Version 152.0a1 (2026-05-14) (64-bit)

### Bug description

Hello! I love Phanpy, thanks for all the excellent work on it.

I use browser keyboard shortcuts like ⌘2 (Cmd-2) to switch to a second tab, for example. This has been unexpectedly registering as a Phanpy shortcut to go to my second tab. (I have Phanpy set up with the tab/menu bar, with Home in the first tab and a list in the second tab). Pressing just `2` on its own in Phanpy takes me to the list (which is really nice), but I believe Cmd-2 shouldn't register as the same shortcut.

### To reproduce

1. Set up Phanpy with the tab/menu bar view with at least two tabs
2. Open at least two tabs in your browser
3. While on Phanpy, press Cmd-2 (for example) to jump to another browser tab
4. See the Phanpy tab name change, as it's switched to the second Phanpy tab view

### Expected behavior

Expected Phanpy to stay on the current view when I switch to another browser tab.

### Other

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue in Phanpy's tab/menu bar view with at least two browser tabs and two Phanpy tabs, using Cmd-2. Inspect the keyboard shortcut handling entry point and verify modifier-assisted browser shortcuts are ignored while the unmodified number shortcut still works. Done means switching browser tabs no longer changes the Phanpy view, without breaking the existing number shortcut.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.