mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Fix scrolling of search results in documents with marked content (bug 1714183)
This regressed in PR 13171, since the `span`s with the marked content identifiers interfere with scrolling of search results.
This commit is contained in:
parent
2a35b39c46
commit
29e6930bb6
2 changed files with 8 additions and 6 deletions
|
@ -223,7 +223,7 @@ class PDFFindController {
|
|||
top: MATCH_SCROLL_OFFSET_TOP,
|
||||
left: MATCH_SCROLL_OFFSET_LEFT,
|
||||
};
|
||||
scrollIntoView(element, spot, /* skipOverflowHiddenElements = */ true);
|
||||
scrollIntoView(element, spot, /* scrollMatches = */ true);
|
||||
}
|
||||
|
||||
_reset() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue