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

Citation pop-ups can get cut off in certain situations #64

Closed geealbers closed 3 years ago

geealbers commented 3 years ago

Steps to reproduce:

  1. Visit a catalogue page and scroll down the bottom Notes section
  2. Click any of the Author Date references (with the dotted underlines) that are either close to the top of the browser window, or are broken across two lines of the text or, in mobile view, close to the left-hand side of the text column

Expected behavior:

A citation pop-up opens above the reference, which contains the full bibliographic reference to be read by the user.

Actual behavior:

The citations open as expected, but in many instances (dependent on the location of the citation on the page and the widow width) part of the citation can be cut off. When it's at the top, the user can scroll down (though it's not an ideal interaction), but if it's cut off to the left or right, there's no way to see the full citation. This screenshot shows three problematic instances:

Screen Shot 2020-12-17 at 2 03 23 PM

Notes: