Merge pull request #15355 from Snuffleupagus/bug-1787456
Always focus the `viewerContainer` when entering PresentationMode (bug 1787456)
This commit is contained in:
commit
4c63a91036
@ -99,6 +99,7 @@ class PDFPresentationMode {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
await promise;
|
await promise;
|
||||||
|
pdfViewer.focus(); // Fixes bug 1787456.
|
||||||
return true;
|
return true;
|
||||||
} catch (reason) {
|
} catch (reason) {
|
||||||
this.#removeFullscreenChangeListeners();
|
this.#removeFullscreenChangeListeners();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user