2 ms·
I'm with touche. Why in the world is AMP telling iOS to do scrolling different from other pages? What's the benefit? Why bother?
by MBCook 10y ago
I'm with touche. Why in the world is AMP telling iOS to do scrolling different from other pages? What's the benefit? Why bother?
- untog 10y agoIIRC the iOS UIScrollView has a different scroll behaviour when it's inside a UIWebView. So they might have reset that difference.
- cramforce 10y agoEverything scroll related is in CSS. The long explanation is here https://medium.com/@dvoytenko/amp-ios-scrolling-and-position-fixed-b854a5a0d451 https://medium.com/@dvoytenko/amp-ios-scrolling-and-position...
- Touche 10y agoI'm well aware of how janky position: fixed on mobile. The solution is not to use position: fixed, not to try to "fix" it and make the experience bad.