Skip to content

ESC key doesn't scroll to resource or activate checkbox like close button does #3093

Closed

Description

@AlexAndBear

Bug Description

When closing the EPUB reader app (or other apps like preview) using ESC key, it only closes the app. However, when using the close button in the top bar, it closes the app AND scrolls to the source resource AND activates the checkbox. The ESC key should behave the same way as the close button.

Reproduction Steps

  1. Open an app (e.g., epub-reader or preview)
  2. Press the close button in the top bar
  3. Observe: App closes, source resource is scrolled to, checkbox is activated
  4. Open the same app again
  5. Press ESC key
  6. Observe: App only closes, but no scrolling to resource or checkbox activation

Expected Outcome

Pressing ESC should behave exactly like clicking the close button:

  • Close the app
  • Scroll to the source resource
  • Activate the checkbox

Actual Outcome

Pressing ESC only closes the app. The scrolling to the resource and checkbox activation are missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions