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

I was interested in reading this until I realized the scrolling was broke.

Please consider using default scrolling




What browser were you using.

Scrolling works perfectly in Firefox 57 on Linux.


iOS Safari


That's your problem. iOS Webkit has buggy scrolling behavior if you use fixed position elements or iframes. Unfortunately, Apple won't allow non-buggy browsers on their platform, so there's nothing you can do about it.


It’s our problem that developers feel the need to override the default scrolling behaviour which works perfectly across all devices on all platforms?


The developer hasn’t override any of the scrolling behaviour, the browser just handles position:fixed incorrectly.


What you are describing was a problem with inconsistent scrolling behaviour, and it was fixed. On this site scrolling is just completely broken and it's dev's fault.

Edit: problem is overflow-y: auto


No it's not my problem. I just won't visit your site.

It's most definitely your problem.


that sounds like ie6 all again.


To clarify, its kinetic scrolling that is broken.


Interesting. Because with Firefox 59 for Android, both kinetic and inertial scrolling work as expected (just tested). Odd that it does not work for iOS Safari.


I don't know about this specific case, but mobile Safari versions have a history of doing special things like CSS position: fixed works entirely different on that platform.


Adding `-webkit-overflow-scrolling: touch;` to the #content selector will fix it :)




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

Search: