mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 14:14:55 +00:00
fix(pdf): goto highlight not work sometimes
This commit is contained in:
@@ -891,6 +891,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
if (parent && parent.classList.contains('pdfViewer')) {
|
||||
parent = parent.parentElement
|
||||
}
|
||||
|
||||
parent.scrollTop = offsetY
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user