When the user scrolls up and down a popup, it can scroll way beyond the popup, to the see dimmed content behind. Then the user would “lose sight” of the popup.
How do i prevent scrolling too much beyond the popup? To keep the popup within sight.
For example, i want to restrict scrolling to 50px before and after the popup.
There are a few similar topics here, but no real solution.