Close dialogs with Escape from an empty search field
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
WebKit, which the desktop app uses, keeps Escape inside search fields even when they are empty, so the search dialog and the moment picker (which focus their search field) could not be closed with Escape on the desktop. Escape in an empty search field now closes its dialog; with text in it, Escape still clears the text first. Found by the desktop UI benchmarks (#51). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Ti36soiZpKdSxKfvQLEcfY https://github.com/openchronology/timeline-app/commit/12ce84700d2385616bef51f236dd1253f29b044a
Related
Open Close dialogs with Escape from an empty search field in the timeline