mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #15355 from Snuffleupagus/bug-1787456
Always focus the `viewerContainer` when entering PresentationMode (bug 1787456)
This commit is contained in:
commit
4c63a91036
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ class PDFPresentationMode {
|
|||
|
||||
try {
|
||||
await promise;
|
||||
pdfViewer.focus(); // Fixes bug 1787456.
|
||||
return true;
|
||||
} catch (reason) {
|
||||
this.#removeFullscreenChangeListeners();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue