New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amp-hidden not getting added to iframe placeholder after using Android native back #19705
Comments
Thanks for the bug report @eveyiyuan! Likely a race between iframe's |
This there anything we can do to help this situation? Would firing a delayed embed-ready message from the iframe help? Thanks! |
I would also like to know if there is currently a workaround for this while it gets fixed? Thanks, |
@eveyiyuan @acsant Sorry for the delay. I can't think of a workaround, we will be working on a fix in the next couple of weeks which should make it to production in early January. |
@aghassemi No worries! To Repro:
Once again it seems like we are only seeing this on Chrome and not on Safari. Thanks for your help with this. |
@eveyiyuan thanks for the detailed report. Will look into that issue as well at the same time. |
@aghassemi For Eve's second issue where the content of the IFrame isn't being loaded, I noticed that it was failing the assertion check for the iframe having a placeholder when |
This issue doesn't have a category which makes it harder for us to keep track of it. @aghassemi Please add an appropriate category. |
Per #19786 (comment), #19778 has also fixed the root cause of this issue. Closing the issue for now. Please feel free to reopen in you noice the issue is not fully fixed. #19778 will rollout to production on Tuesday Dec 18th. |
What's the issue?
We are seeing placeholders not being hidden for amp-iframes after the iframes load when we navigate to the Google AMP viewer via the native / browser back on Android phones. This same issue does not appear to happen on iOS. The iframe content is fully loaded and responsive underneath the placeholder, and appears to work fine if we delete the placeholder element or change its z index. The
amp-hidden
class isn't added to the placeholder. We see this when we use a div or an image as a placeholder.How do we reproduce the issue?
Visit https://www.google.com/amp/s/www.redfin.com/UT/Park-City/3720-N-Sundial-Ct-84098/unit-B314/home/91868182/amp via the search results page on an Android device
Click the search icon (the magnifying glass) in the header
Use the native back button on the device to go back to the amp viewer
Inspect any of the iframes (such as the fixed footer on the bottom of the viewport)
What browsers are affected?
Chrome on Android
Which AMP version is affected?
amp-version="1811272154520"
amp-iframe version 0.1
The text was updated successfully, but these errors were encountered: