This commit is contained in:
Vanessa 2023-04-03 18:46:01 +08:00
parent f5f24e06cb
commit ae82c47e85
2 changed files with 7 additions and 2 deletions

View File

@ -3131,7 +3131,12 @@ function webViewerClick(evt) {
if (!pdfInstance) {
return
}
pdfInstance.pdfViewer.focus();
// 点击后证快捷键可正常使用select 也可正常使用 https://github.com/siyuan-note/siyuan/issues/7869
if (evt.target.tagName !== "SELECT") {
pdfInstance.pdfViewer.focus();
}
if (!pdfInstance.secondaryToolbar?.isOpen) {
return;
}

View File

@ -401,12 +401,12 @@
.dropdownToolbarButton {
--scale-select-width: 140px;
width: var(--scale-select-width);
margin: 4px 8px 0 0;
select {
width: inherit;
min-width: auto;
height: 24px;
margin: 4px 8px 0 0;
line-height: 24px;
padding: 0 8px;
}