amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Pages scroll horizontally in iOS Safari

Open ericfs opened this issue 10 years ago • 3 comments

Some pages have a small amount of horizontal scrolling. For example: https://amp.businessinsider.com/obama-game-7-air-force-one-nba-finals-2016-6 It happens with some other publishers too.

This does not happen when the document is loaded in a web Viewer. In that case, it uses ViewportBindingNaturalIosEmbed_ and overflow-x:hidden is set on the body.

This is a problem for native AMP Viewer implementations that use WebViews since they will have the small horizontal scroll.

ericfs avatar Jun 22 '16 12:06 ericfs

Re: https://github.com/ampproject/amphtml/issues/3318

jridgewell avatar Jun 22 '16 16:06 jridgewell

@jridgewell — adding this to the Backlog milestone; please correct/update as needed (not sure if this folded entirely into the "next" work in #3318)

ericlindley-g avatar Jun 29 '16 22:06 ericlindley-g

To be done only when #webview=1.

dvoytenko avatar Aug 04 '16 18:08 dvoytenko