[Bug] Thumbnail Viewer didn't scroll to current page
work around:
const reader = Zotero.Reader.getByTabID(Zotero_Tabs.selectedID);
const layout = reader._iframeWindow.document.getElementById('thumbnailView');
layout.getElementsByTagName('a')[reader.state.pageIndex].scrollIntoView();
const reader = Zotero.Reader.getByTabID(Zotero_Tabs.selectedID);
const layout = reader._iframeWindow.document.getElementById('thumbnailView');
layout.getElementsByTagName('a')[reader.state.pageIndex].scrollIntoView();
-
martynas_bCould you give steps how to reproduce the issue? Does it happen all the time?
-
volatile-static@martynas_b Yes, all the time when I scroll the pdfViewer, the pdfThumbnailViewer never scroll at all.