Is there anyway or workaround when popup movable header is stuck at top or bottom most of the page?

Hey John,

I have an Idea!

Check whether the popup content is fully visible while dragging. Check for the popup viewport is fully visible or partially visible.

If it is partially visible then scroll the main page to top using javascript.

Or you can show a button to drag once the popup is hidden or partially visible, then hide the button once popup is fully visible.

Hope it helps!!