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
266 reactions

alex pfp
alex
@alexgrover.eth
Also turns off swipe to navigate back/forward! Which can be desirable if you want a native-feeling app (we had this in our previous PWA for example) or annoying if it breaks a browser feature the user expects
0 reply
0 recast
1 reaction