mirador
mirador copied to clipboard
Bug fix: viewer not scrolling to toc entry correctly
I have just fixed a bug. This is related to the table of contents and the ScrollTo component. Previously, an empty containerRef was passed to it inital, which meant that it did not scroll to the correct position in the TOC.
I used this config prop: windows: [{ manifestId: "https://iiif.ub.uni-leipzig.de/0000034390/manifest.json", canvasIndex: 330,}]
for testing.