codesandbox / codesandbox/codesandbox-client
Browser Client Hijacks Browser Keys
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 2.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 2
Description
I'm pretty sure I'm missing something completely obvious, but every time I open a Sandbox on CodeSandBox.io with Vim keybindings set, the application completely Hijacks Chrome's (probably all) keyboard shortcuts. For instance, ctrl-Tab won't change tabs in Chrome, but will trigger the change file function in the editor. All of this is fine, but I expect to be able to "escape" the application (with Esc) and gain access to the browser controls. Without knowing how to regain my browser facilities I'm effectively blocked from using the service
To reproduce, open an editor in chrome with Vim bindings and try to change tabs with ctrl-Tab
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in a Chrome Sandbox with Vim keybindings enabled, using Ctrl-Tab and Esc as described. Trace the browser client’s editor keyboard handling to determine how shortcuts are captured; done means Esc lets browser controls work again while normal editor shortcuts remain available.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100