ProjectMirador / mirador2

[DEPRECATED] An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.
Other
0 stars 2 forks source link

Range with both ranges and canvases property causes problem #6

Open jeffreycwitt opened 8 years ago

jeffreycwitt commented 8 years ago

If I have I have a range that lists both the ranges that lie within it and the canvases that it contains, I notice an undesirable behavior in Mirador.

When you click on an item within the range question, the side bar panel will always scroll back up to the title for the parent range no longer allowing the user to see the item they just clicked on. See my attached Gif.

mirador-toc-bug2

However, if you do not include the canvas property for range the behavior is improved, but if you click on the parent range itself you get the following error:

Uncaught TypeError: Cannot read property '0' of undefined

And Mirador will, obviously, not take you to the first canvas for this parent range. See the attached gif for behavior when canvases ARE listed.

mirador-toc-bug1

rsinghal commented 8 years ago

this is related to ProjectMirador/mirador#248

rsinghal commented 8 years ago

Is the manifest on a public URL? We want to use it for testing.

jeffreycwitt commented 8 years ago

Yep, try this:

http://scta.info/iiif/wdr-wettf15/manifest