mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-13 15:51:00 +00:00
a729a6935f
The date picker of the external photo picker hung absolutely under its trigger, inside a dialog that clips its content. The last week of a six-week month fell below the dialog, and for the end date in the right-hand column the calendar opened past the dialog's right edge, so the last weekday and the next-month arrow could not be reached. The calendar now opens in a portal, pinned to its trigger through useAnchoredPosition: it flips above the trigger when below is too short, scrolls when neither side holds it, and is kept inside the viewport sideways. Closes #2858