I've noticed something interesting when using the Reddit app on my Android phone. When I scroll to the end of a post and swipe down with my thumb, the content—like text and images—appears to stretch vertically. It looks like the line heights and margins adjust, but the font size stays the same. I'm curious how this effect is achieved. I'm looking for explanations involving either CSS or JavaScript. Thanks in advance!
1 Answer
Hey! It sounds like you're experiencing a typical scroll effect that's common in mobile apps. On Android, that's often just how overscrolling works—when you pull down, the content stretches rather than just bouncing back like it does on iOS. So it's possible that it's tied more to the Android operating system than Reddit itself.
Thanks for clarifying! I just got this phone yesterday, so I'm still learning the ins and outs. I’m starting to think this might be more of an OS feature than just Reddit. But I still want to dig into the code behind it.