amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

amp-lightbox close on ios chrome redirected back to google

Open Aivaras100 opened this issue 7 years ago • 14 comments

When close amp-lightbox or amp-sidebar redirected back to Google search results. Problem detected only on IOS Chrome browser.

When will it be resolved?

Aivaras100 avatar Aug 24 '19 07:08 Aivaras100

Hello, do you have a demo page we can test this on?

wassgha avatar Aug 25 '19 17:08 wassgha

I can reproduce this issue when viewing something with a sidebar from google search (within the google search AMP viewer). For example: https://www.google.com/amp/s/www.foxnews.com/media/fox-news-dagen-mcdowell-blasts-comedian-bill-maher-for-incendiary-comments-on-billionaire-david-kochs-death.amp

However, if I go to the AMP article itself (www.foxnews.com/media/fox-news-dagen-mcdowell-blasts-comedian-bill-maher-for-incendiary-comments-on-billionaire-david-kochs-death.amp), I do not see the same behavior of closing the sidebar causing a back navigation.

I can also confirm that this behavior is not present on iOS Safari.

@dvoytenko Do you have any ideas why the history navigation / viewer integration may differ between Chrome and Safari on iOS?

sparhami avatar Aug 26 '19 22:08 sparhami

@sparhami No - no obvious reason that I can see. Given the viewer-based implementation, the issue could go deeper into Search itself.

dvoytenko avatar Aug 27 '19 17:08 dvoytenko

https://www.google.com/search?q=klipshop+co+uk&rlz=1CDGOYI_enLT743LT743&oq=klipshop+co+uk&aqs=chrome..69i57.7086j0j9&hl=en-GB&sourceid=chrome-mobile&ie=UTF-8

klipshop co uk open page then open menu and close. Width OS Chrome

Aivaras100 avatar Aug 28 '19 15:08 Aivaras100

  1. Open this url width Iphone Chrome browser: https://www.google.com/search?q=klipshop+co+uk&rlz=1CDGOYI_enLT743LT743&oq=klipshop+co+uk&aqs=chrome..69i57.7086j0j9&hl=en-GB&sourceid=chrome-mobile&ie=UTF-8 and click on klipshop.co.uk page in search results (e.g.: https://prnt.sc/oysdlq )
  2. In the opening klipshop.co.uk amp page open menu (e.g.: https://prnt.sc/oyseyl)
  3. Then click on close menu button (e.g.: https://prnt.sc/oysfya)

Then you redirected back to google search result :(

Aivaras100 avatar Aug 28 '19 18:08 Aivaras100

Related to #3210

wassgha avatar Aug 28 '19 20:08 wassgha

Chrome on iOS shows

ERRORfailed to execute a task:: Request popHistory failed: Error: ga
ERRORhistory trace for pop: History: failed to execute a task:: Request popHistory failed: Error: ga _reported_

wassgha avatar Aug 28 '19 22:08 wassgha

@wassgha Let's forward this to Google Search team.

dvoytenko avatar Aug 28 '19 23:08 dvoytenko

Analogical problem width amp-lightbox component :(

Aivaras100 avatar Aug 29 '19 07:08 Aivaras100

How are the problems solved?

Aivaras100 avatar Sep 04 '19 08:09 Aivaras100

Why is the task closed ??? Problem not solved!

Aivaras100 avatar Nov 12 '19 09:11 Aivaras100

Hello @Aivaras100 , following the steps you have mentioned above I was not able to reproduce this on Chrome iOS anymore, I've also tried multiple other websites that had the same issue before and it seems to have been fixed. Could you kindly try to reproduce on your side and let us know if this is still an issue?

wassgha avatar Nov 12 '19 09:11 wassgha

Updating the browser fixes the issue. How long before the problem was resolved? what browser version is not a problem?

Aivaras100 avatar Nov 12 '19 09:11 Aivaras100

This seems to have been fixed in Chrome 78 according to the changelog. Not an AMP issue anyway.

wassgha avatar Nov 12 '19 10:11 wassgha