Hacker News new | past | comments | ask | show | jobs | submit login

Disabling the "bounce" scroll effect and pull-to-refresh can now be done with the `overscroll-behavior` CSS property, which is supported on all recent browsers.

https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-...

I would avoid using `touch-action` to accomplish this as it also affects other behavior on touch devices.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: