thegetty / rococo

"Rococo Ébénisterie in the J. Paul Getty Museum," by Gillian Wilson and Philippe Halbert
https://www.getty.edu/publications/rococo/
0 stars 0 forks source link

Closing the figure modal forces page to scroll back to the top #63

Closed geealbers closed 3 years ago

geealbers commented 3 years ago

Steps to reproduce:

  1. Visit the introduction, or one of the catalogue entries that have figure images on the page
  2. Scroll down the page and click on an image to open the image in the zooming figure modal
  3. 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: