ESC to close Find / search field

Use case or problem

Windows app:
When I have a page open and press CTRL+F to search contents in the page, I want to press ESC to close the Find / search field in Windows, so that I don’t need to use the mouse to click “x” to close Find.

Further, the Find field follows me when navigating to another page (e.g., CTRL+ALT+ArrowBack to visit the previous page - where I may not want to search). Closing search field is common behavior in modern browsers.

Proposed solution

Acceptance Criteria

  • When Find is open and the cursor is active in the Find field, then pressing ESC shall close the Find field.
  • When Find is open and the cursor is active elsewhere in the page, ESC shall still close the Find field (same behavior).
  • When Find is open and I press CTRL+ALT+ArrowBack to visit the previous page, then Find is hidden on the other page (here: “the previous page”). Except if I also used Find on that other page.

Implementation idea

  • Remember Find field state for each File tab - and show or hide the Find field depending on this Find field state.

Version: 1.1.9

Related feature requests

This works already.