Scroll down the page and click on an image to open the image in the zooming figure modal
Close the modal with the X in the upper right.
Expected behavior:
The figure modal should close and the user should be at the same point in the page where they were when they clicked the figure. This should be true even if the user has navigated to other images within the modal using the next and previous buttons. It should still always close
Actual behavior:
The figure modal closes and the user is back at the top of the page.
Notes:
I see that this is also an issue in the Mummy Portraits book, which is the last one we published, but it's not an issue in the Ambers catalogue which was published before Mummy Portraits. These were our two most recent that used the figure modal. Unfortunately I don't have a clear way of telling which variation of the quire-starter-theme each books uses to help pinpoint the issue.
In both Rococo and Mummy Portraits, the anchor links used to trigger the figure modal opening looks like #deepzoom-1608157130957948559 and they are left appended to the URL in the address bar even when you close the modal. If possible, it would be better to remove them when closing since they don't actually function as a URL you can visit directly, and it looks a little sloppy. And in fact, in Ambers, the anchor links disappear when you close the modal. Perhaps this is the issue, or at least, a sign of it?
Steps to reproduce:
Expected behavior:
The figure modal should close and the user should be at the same point in the page where they were when they clicked the figure. This should be true even if the user has navigated to other images within the modal using the next and previous buttons. It should still always close
Actual behavior:
The figure modal closes and the user is back at the top of the page.
Notes:
#deepzoom-1608157130957948559
and they are left appended to the URL in the address bar even when you close the modal. If possible, it would be better to remove them when closing since they don't actually function as a URL you can visit directly, and it looks a little sloppy. And in fact, in Ambers, the anchor links disappear when you close the modal. Perhaps this is the issue, or at least, a sign of it?