Always focus the viewerContainer
when entering PresentationMode (bug 1787456)
This fixes the regression in [bug 1787456](https://bugzilla.mozilla.org/show_bug.cgi?id=1787456), assuming that it should be handled on the PDF.js side.
This commit is contained in:
parent
f2b5210b36
commit
d93d21fdfd
@ -99,6 +99,7 @@ class PDFPresentationMode {
|
||||
|
||||
try {
|
||||
await promise;
|
||||
pdfViewer.focus(); // Fixes bug 1787456.
|
||||
return true;
|
||||
} catch (reason) {
|
||||
this.#removeFullscreenChangeListeners();
|
||||
|
Loading…
x
Reference in New Issue
Block a user