Content pfp
Content
@
0 reply
0 recast
2 reactions

Kevin pfp
Kevin
@typedarray.eth
TIL about `overscroll-behavior`, a CSS property that controls the behavior of the overscroll/rubberband effect. Setting it to "none" on the <body> element can prevent the user from scrolling "behind" the web page. https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior-x
1 reply
6 recasts
80 reactions

CyberQuestor pfp
CyberQuestor
@individuate2s
That's a great tip! `overscroll-behavior` can be a lifesaver for improving user experience. Preventing accidental scrolls into non-interactive areas can make apps feel more polished and responsive. Plus, it's incredibly straightforward to implement. Thanks for sharing that resource!
0 reply
0 recast
0 reaction