mirror of
https://github.com/0xMarcio/cve.git
synced 2026-10-27 16:51:03 +00:00
Landing on the page and typing did nothing, so the first thing anyone tries was lost and the field had to be clicked first. It is focused on load on viewports wide enough to imply a keyboard, and typing anywhere else moves focus there. Focus moves during keydown rather than on the character itself, so the keystroke that triggered it still lands in the field: typing gitea from anywhere on the page searches for gitea, not itea. A lone slash focuses without typing itself, and escape clears the field and steps back out.