nextcloud / files_pdfviewer

:book: A PDF viewer for Nextcloud
GNU Affero General Public License v3.0
89 stars 43 forks source link

Esc button not working unless you click on the header #623

Open ghost opened 2 years ago

ghost commented 2 years ago

Steps to reproduce

  1. Open a PDF file
  2. Don't click on anything else
  3. Press ESC button

Expected behaviour

The viewer should close.

Actual behaviour

It's not closing. (It only closes if you click on the viewer header (where the title and x button are) and then press ESC.

Server configuration

Operating system: Raspbian Linux 11

Database: MySQL

PHP version: 7.4

Nextcloud version: (see Nextcloud admin page) 24.0.2

Client configuration

Browser: Chrome

Operating system: MacOS

pat-githubber commented 2 years ago

Same issue. Nextcloud Text allows to close the app using esc, which enables a smooth workflow. Please add this feature to the PDF Viewer 🙏