I’m working on a single-page app and want no scrollable movement when there’s no scrollable content.
I’d like to avoid the “rubber-banding” or “scroll bounce” effect: when the page stretches or bounces slightly beyond its normal boundaries and then returns to its original position when the user stops scrolling.
I noticed I can avoid this with pop-ups, so I’m considering using them for each screen. But there’s this annoying space above the pop-up, even when I set its height to 100%. Seems like there’s a default top margin I can’t get rid of.
Any ideas on how to fix this? I’m also open to alternatives to pop-ups if they remove the scroll bounce.
Here’s a video of what I mean by scroll bounce: