Skip to content

Overlapping ranges make some titles in de index tab not "clickable" #955

@nicolasfranck

Description

@nicolasfranck

UV version:

 universalviewer@4.0.25

I'm submitting a:

  • bug report => please fork one of these codesandbox examples with a repro of your issue and include a link to it below

Current behavior:

When I provide a manifest with overlapping ranges (two ranges have one or more of the same canvases),
one of the titles do not react "properly", i.e. when clicked the title does not become
blue and the first canvas is not triggered.

P.S. When navigating through the image list, the right range titles are selected, so that part
works perfectly.

Expected behavior:

Overlapping ranges should work

P.S. it works in https://universalviewer.io/examples/?manifest=http%3A%2F%2Fwellcomelibrary.org%2Fiiif%2Fb19974760-0%2Fmanifest&locale=en-GB#?c=&m=&s=&cv=3&manifest=https%3A%2F%2Fadore.ugent.be%2FIIIF%2Fmanifests%2Frange-test&xywh=0%2C-1599%2C10937%2C10415 which is probably based on an older version

Steps to reproduce:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Community Sprint COMPLETED

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions