amphtml: AMP fixed header on Chrome iOS has incorrect position when in an iFrame
Short description of the issue
When viewing Google AMP results on Chrome iOS, there is a bug where the header disappears when I click on an AMP result with a header that has position:fixed; top:0;
CSS.
How do we reproduce the issue?
- Create an AMP page with a header with
position:fixed; top:0;
CSS. - Get the result indexed
- Search for the page on Chrome in iOS
- Make sure the location bar is not displayed (only scroll down)
- Click on the search result
- You’ll see that the header is “calculated” to be below the google bar, but is hidden by the height of the location bar.
Example:
Example of how it should look:
Public URL (works fine if you access it directly):
Search result that will cause the issue:
Here is a screen recording of where I reproduce the bug:
I’m not sure if this is a bug with the AMP recalc JS or Chrome on iOS, so I created a bug report on crbug.com as well:
What browsers are affected?
Chrome 55 on iOS.
Which AMP version is affected?
1485231782273
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 30 (22 by maintainers)
someone fix this?
I have the same problem with amp fixed header using chrome on ios but when using amp-lightbox
the amp fixed header hide the content