Hacker News new | ask | show | jobs
by gruez 2611 days ago
Also the scrolling feels "weird". Kinda like when you're on an amp page (although I think they fixed that now).
3 comments

It’s missing a css property that enables the throw feeling.

https://css-tricks.com/snippets/css/momentum-scrolling-on-io...

That’s because the site messes with the scrolling in an attempt to prevent the top chrome to not come back, which unfortunately (or fortunately?) doesn’t do anything because Safari refuses to hide it.
Yeah, the scrolling is so janky on the page, I thought my iPad wasn’t properly responding to multitouch input for a moment... Then I opened the HN discussion and smooth, buttery scrolling (tm) was back. Lesson: don’t hijack scrolling behavior, it’s awful. (Very smart hack though.)