Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

TypeError: Cannot read property 'map' of undefined - ThumbnailNavigation (Switch between manifests of a collection) #3437

Closed
ChrisBethgster opened this issue May 18, 2021 · 0 comments · Fixed by #3456
Assignees
Labels

Comments

@ChrisBethgster
Copy link

Load an collection manifest.
Sample: https://wellcomelibrary.org/iiif/collection/b18031511

  1. Click on the first manifest of the collection.
  2. Open the thumbnails -> click on a thumbnail (for example page 5)
  3. Open the metadata information view -> click on "Show Collection"
  4. Select the last manifest of the collection.

The console and the UI shows the following error:
TypeError: Cannot read property 'map' of undefined at new e (CanvasWorld.js:13) at i.value (ThumbnailNavigation.js:73) at T (VariableSizeList.js:42) at getOffsetForIndexAndAlignment (VariableSizeList.js:193) at t.n.scrollToItem (createListComponent.js:222) at i.value (ThumbnailNavigation.js:41) at is (react-dom.production.min.js:212) at pc (react-dom.production.min.js:255) at t.unstable_runWithPriority (scheduler.production.min.js:19) at Uo (react-dom.production.min.js:122) es @ react-dom.production.min.js:209

@ChrisBethgster ChrisBethgster changed the title TypeError: Cannot read property 'map' of undefined TypeError: Cannot read property 'map' of undefined - ThumbnailNavigation (Switch between manifests of a collection) May 18, 2021
@cbeer cbeer added the bug label May 18, 2021
@cbeer cbeer self-assigned this Jun 17, 2021
@cbeer cbeer removed the Mirador3 label Jun 24, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants