amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

AMP pages break scroll-to-top shortcut on iOS

Open bonaldi opened this issue 11 years ago • 6 comments

On standard webpages in iOS Safari, when scrolled some way into the document you can tap the clock (the centre of the top of the screen) to scroll to the top. This doesn't work on AMP pages.

bonaldi avatar Oct 09 '15 09:10 bonaldi

-webkit-overflow-scrolling:touch maybe?

Did some googling and found that this line of CSS was a problem back in iOS 5 and 6 but I haven't found much on iOS 8. Might be worth checking out though, it seems like webkit-overflow-scrolling causes other scrolling issues as well if you search it on stack overflow.

twang10 avatar Oct 09 '15 10:10 twang10

/cc @dvoytenko

erwinmombay avatar Oct 09 '15 14:10 erwinmombay

So, this is fixed in the standalone mode. In the Viewer mode - this is really up to the viewer.

dvoytenko avatar Oct 22 '15 18:10 dvoytenko

Is there a public viewer bug to follow?

ithinkihaveacat avatar May 21 '17 15:05 ithinkihaveacat

@ericfs

jridgewell avatar May 23 '17 18:05 jridgewell

Only tracked internally: b/33734828

ericfs avatar May 23 '17 18:05 ericfs