Vanessa 2022-10-29 01:31:00 +08:00
parent 3b7cc5f3a8
commit bcdeeb750d
2 changed files with 3 additions and 3 deletions

View file

@ -2943,7 +2943,7 @@ function webViewerClick (evt) {
if (
pdfInstance.pdfViewer.containsElement(evt.target) ||
(appConfig.toolbar.container.contains(evt.target) &&
evt.target !== appConfig.secondaryToolbar.toggleButton)
!appConfig.secondaryToolbar.toggleButton.contains(evt.target)) // NOTE
) {
pdfInstance.secondaryToolbar.close()
}

View file

@ -297,13 +297,13 @@
right: 4px;
position: absolute;
top: 36px;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
#secondaryToolbarButtonContainer {
max-width: 220px;
max-height: 400px;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
#secondaryToolbarButtonContainer.hiddenScrollModeButtons > .scrollModeButtons,