You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The shifting is caused by the invocation of scrollIntoView in TextLayerBuilder.renderMatches. The bug is caused by the fact that the PDF document contains text outside the visible view of the page (which becomes obvious if you add overflow:visible to the textLayer):
A way to work around the issue is to skip elements whose overflow attribute is set to hidden, which I've done in the next patch. Even though the patch resolves the issue, I wonder why we have text outside the page's view at all.
http://movelex.hu/fenyoapa/tori_6_tk_webre.pdf_150.pdf#textLayer=visible
I've found this bug and PDF at https://stackoverflow.com/questions/25922247/how-to-fix-pdf-js-find-highlight-error-or-what-causes-it.
The text was updated successfully, but these errors were encountered: