SCENE-CE / mirador-annotation-editor

Apache License 2.0
5 stars 0 forks source link

Fix error of getBoundingRectClient #61

Open geourjoa opened 3 months ago

geourjoa commented 3 months ago

image

This error happened when swithing to a new canvas.

On the first load of a canva :

WindowSideBarAnnotationsPanel -> containerRef is undefined

When switching to a new canva

WindowSideBarAnnotationsPanel -> containerRef = image

Then the app crash

geourjoa commented 3 months ago

Error seems to be related to Mirador himself and the error can be reproduce on Gauguin.

The issue can be come from our Custom Mirador or Mirador 4 himself