amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

<amp-next-page> next-page-hide attribute does not work when a page is opened from google

Open carlosestevezmrf opened this issue 5 years ago • 2 comments

What's the issue?

I can only reproduce this in AMP documents loaded inside the Google Search results AMP viewer.

This can be reproduced If an amp page has <amp-next-page> tag and an element withnext-page-hide attribute.

The expected behaviour is to hide the HTML element with next-page-hide attribute.

How do we reproduce the issue?

  1. Open this URL in a cellphone.
  2. Open the first article of google results.
  3. Scroll down in order to see the <amp-next-page> tag.
  4. Scroll to the header of the page.
  5. You will see two menu element, the first one have the next-page-hide attribute.

Here is a video of how to reproduce the issue: https://gyazo.com/05818b6d4d726b15725ab6072e4381f7

The same document loaded from the original URL works correctly. https://areajugones.sport.es/videojuegos/el-primer-dlc-de-cyberpunk-2077-llegara-a-principios-de-2021/amp/

carlosestevezmrf avatar Dec 30 '20 23:12 carlosestevezmrf

Confirming that we are seeing this on CNET.com AMP pages that are served via Google cache. In this case, it ends up blocking the article title.

Image from iOS (82)

Cauchon avatar Jan 05 '21 20:01 Cauchon

Closing issue in favor of #31951.

The Google team has temporarily rolled back a release of module scripts from the Google AMP Cache, we'll use #31951 to track fixing the underlying issue.

kristoferbaxter avatar Jan 14 '21 15:01 kristoferbaxter