amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

[AMP: make-body-relative] Unusual behavior of header if phone is left resting with AMP page displayed

Open ansalgado-gcorp opened this issue 10 years ago • 18 comments

Short description of your issue:

On the AMP Viewer version, if the user opens the page, and leaves the phone on standby, when coming back to the page, while scrolling, the header will jump on the vertical axis. This behavior is unusual because it prevents the user from seeing content correctly.

How do we reproduce the issue?

Open a URL on any of the covered browsers. Scroll a few times to activate the hiding header. Place the phone on standby, and return to the experience and scroll again.

What browsers are affected?

AGSA, Stock browser.

All browsers? Some specific browser? What device type?

Samsung S4, KitKat

ansalgado-gcorp avatar Nov 21 '16 17:11 ansalgado-gcorp

How strange—is this only with the make-body-relative experiment toggled? Do you have a video?

/to @dvoytenko

ericlindley-g avatar Nov 21 '16 17:11 ericlindley-g

AMP_Sock.mp4.zip

sadapala avatar Nov 21 '16 19:11 sadapala

That could also be a problem with Google's scrollaway header performance. Maybe messaging between the two frames becomes slower after waking from a standby?

jridgewell avatar Nov 21 '16 19:11 jridgewell

/to @RJSumi

jridgewell avatar Nov 21 '16 20:11 jridgewell

What is the URL for that article?

Does this effect this experiment itself? What's the non-experiment behavior?

dvoytenko avatar Nov 21 '16 21:11 dvoytenko

URL: https://www.google.com/amp/retail.economictimes.indiatimes.com/amp/news/e-commerce/e-tailing/paytm-app-crosses-50-million-downloads-on-google-play-store/55428150

This affects the experiment itself. We have the exact same article running with the experiment off on another phone, and the behavior can not be reproduced.

ansalgado-gcorp avatar Nov 21 '16 23:11 ansalgado-gcorp

/cc @flaviori hard as I try, I can't repro this with our devices and browsers. I think this is a confluence of some things with viewer. Could you PTAL?

dvoytenko avatar Nov 23 '16 17:11 dvoytenko

The video posted above has a very similar behavior to what I often see for [huffpost]. I can seem to repro on regular Android Chrome for huffpost results at least.

flaviori avatar Nov 23 '16 21:11 flaviori

@flaviori The same steps? After the device goes to sleep?

dvoytenko avatar Nov 28 '16 19:11 dvoytenko

We are ramping up to test on one device. @sadapala will append to my comment. She is testing on Android M Stock Browser. Do you require coverage of this issues on all API levels?

ansalgado-gcorp avatar Jan 24 '17 23:01 ansalgado-gcorp

@dvoytenko , are you able to answer @ansalgado-gcorp 's question?

ericlindley-g avatar Jan 24 '17 23:01 ericlindley-g

Video contains voice narration and explanation of the issue. We can reproduce 10 out of 10 times.

amp_header_see_through.mov.zip

ansalgado-gcorp avatar Jan 25 '17 01:01 ansalgado-gcorp

Got it—thanks for confirming that the issue is still present. @dvoytenko, do you have what you need to debug?

ericlindley-g avatar Jan 25 '17 17:01 ericlindley-g

Ok, per @flaviori sounds like we can close this bug, right?

dvoytenko avatar Jan 25 '17 21:01 dvoytenko

Through email conversation, @flaviori mentioned the condition probably triggering due to stock browsers having Chrome underneath. We tested again against Samsung S4 KK and we can still reproduce the issue/behavior. Can you please confirm that Kitkat also has Chrome core on it's built-in stock browser?

amp_KK_without_optin.mp4.zip

ansalgado-gcorp avatar Jan 25 '17 23:01 ansalgado-gcorp

@ansalgado-gcorp So it looks like this effect is observed w/o the experiment as well, right?

dvoytenko avatar Jan 26 '17 00:01 dvoytenko

Yes, correct.

ansalgado-gcorp avatar Jan 26 '17 20:01 ansalgado-gcorp

Launching.

dvoytenko avatar Feb 06 '17 19:02 dvoytenko