gchq / gchq/CyberChef

Bug report: Find input box not automatically focused

Open
#1,868 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

**Describe the bug**
Not sure if this is a bug or a feature request... when hitting CMD+F / CTRL+F the Find tool opens at the top of the Input/Output but the keyboard input isn't automatically directed to the Find input box. Focus is also lost from the Input/Output box so typing has no effect.

**To Reproduce**
1. Enter some text into the Input box
2. Hit CMD+F / CTRL+F to display the Find tool
3. Type something
4. Notice that your input doesn't appear anywhere

**Expected behaviour**
I expected the Find input box to be focused when the Find tool appears, so users can hit CTRL+F / CMD+F then immediately start typing their query

**Desktop (if relevant, please complete the following information):**
- Browser: Chrome 126 / Firefox 128
- CyberChef version: 10.19.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in CyberChef with the Find tool: enter text, use CMD+F or CTRL+F, and type a query. Trace the frontend code that opens the Find tool and verify that the Find input receives focus and accepts typing immediately after the shortcut.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.