amp-lightbox close on ios chrome redirected back to google
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?
Hello, do you have a demo page we can test this on?
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 No - no obvious reason that I can see. Given the viewer-based implementation, the issue could go deeper into Search itself.
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
- 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 )
- In the opening klipshop.co.uk amp page open menu (e.g.: https://prnt.sc/oyseyl)
- Then click on close menu button (e.g.: https://prnt.sc/oysfya)
Then you redirected back to google search result :(
Related to #3210
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 Let's forward this to Google Search team.
Analogical problem width amp-lightbox component :(
How are the problems solved?
Why is the task closed ??? Problem not solved!
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?
Updating the browser fixes the issue. How long before the problem was resolved? what browser version is not a problem?
This seems to have been fixed in Chrome 78 according to the changelog. Not an AMP issue anyway.