{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/7283","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/7283/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/7283/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/7283/events","html_url":"https://github.com/ampproject/amphtml/issues/7283","id":204531202,"number":7283,"title":"AMP fixed header on Chrome iOS has incorrect position when in an iFrame","user":{"login":"sigginet","id":1608474,"avatar_url":"https://avatars2.githubusercontent.com/u/1608474?v=4","gravatar_id":"","url":"https://api.github.com/users/sigginet","html_url":"https://github.com/sigginet","followers_url":"https://api.github.com/users/sigginet/followers","following_url":"https://api.github.com/users/sigginet/following{/other_user}","gists_url":"https://api.github.com/users/sigginet/gists{/gist_id}","starred_url":"https://api.github.com/users/sigginet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigginet/subscriptions","organizations_url":"https://api.github.com/users/sigginet/orgs","repos_url":"https://api.github.com/users/sigginet/repos","events_url":"https://api.github.com/users/sigginet/events{/privacy}","received_events_url":"https://api.github.com/users/sigginet/received_events","type":"User","site_admin":false},"labels":[{"id":284925157,"url":"https://api.github.com/repos/ampproject/amphtml/labels/Category:%20Tooling","name":"Category: Tooling","color":"1d76db","default":false},{"id":318825287,"url":"https://api.github.com/repos/ampproject/amphtml/labels/Category:%20Viewer","name":"Category: Viewer","color":"1d76db","default":false},{"id":425188971,"url":"https://api.github.com/repos/ampproject/amphtml/labels/Internally%20Tracked","name":"Internally Tracked","color":"fef2c0","default":false},{"id":530202281,"url":"https://api.github.com/repos/ampproject/amphtml/labels/P2:%20Soon","name":"P2: Soon","color":"e99695","default":false},{"id":255304066,"url":"https://api.github.com/repos/ampproject/amphtml/labels/Type:%20Bug","name":"Type: Bug","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"dvoytenko","id":726049,"avatar_url":"https://avatars0.githubusercontent.com/u/726049?v=4","gravatar_id":"","url":"https://api.github.com/users/dvoytenko","html_url":"https://github.com/dvoytenko","followers_url":"https://api.github.com/users/dvoytenko/followers","following_url":"https://api.github.com/users/dvoytenko/following{/other_user}","gists_url":"https://api.github.com/users/dvoytenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dvoytenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvoytenko/subscriptions","organizations_url":"https://api.github.com/users/dvoytenko/orgs","repos_url":"https://api.github.com/users/dvoytenko/repos","events_url":"https://api.github.com/users/dvoytenko/events{/privacy}","received_events_url":"https://api.github.com/users/dvoytenko/received_events","type":"User","site_admin":false},"assignees":[{"login":"dvoytenko","id":726049,"avatar_url":"https://avatars0.githubusercontent.com/u/726049?v=4","gravatar_id":"","url":"https://api.github.com/users/dvoytenko","html_url":"https://github.com/dvoytenko","followers_url":"https://api.github.com/users/dvoytenko/followers","following_url":"https://api.github.com/users/dvoytenko/following{/other_user}","gists_url":"https://api.github.com/users/dvoytenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dvoytenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvoytenko/subscriptions","organizations_url":"https://api.github.com/users/dvoytenko/orgs","repos_url":"https://api.github.com/users/dvoytenko/repos","events_url":"https://api.github.com/users/dvoytenko/events{/privacy}","received_events_url":"https://api.github.com/users/dvoytenko/received_events","type":"User","site_admin":false},{"login":"muxin","id":3897214,"avatar_url":"https://avatars0.githubusercontent.com/u/3897214?v=4","gravatar_id":"","url":"https://api.github.com/users/muxin","html_url":"https://github.com/muxin","followers_url":"https://api.github.com/users/muxin/followers","following_url":"https://api.github.com/users/muxin/following{/other_user}","gists_url":"https://api.github.com/users/muxin/gists{/gist_id}","starred_url":"https://api.github.com/users/muxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muxin/subscriptions","organizations_url":"https://api.github.com/users/muxin/orgs","repos_url":"https://api.github.com/users/muxin/repos","events_url":"https://api.github.com/users/muxin/events{/privacy}","received_events_url":"https://api.github.com/users/muxin/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ampproject/amphtml/milestones/4","html_url":"https://github.com/ampproject/amphtml/milestone/4","labels_url":"https://api.github.com/repos/ampproject/amphtml/milestones/4/labels","id":1537240,"number":4,"title":"Backlog Bugs","description":"This milestone tracks all bugs opened for the projects that are not yet assigned to a sprint milestone. Bugs within this milestone will be fixed based on the priority of the issue. ","creator":{"login":"rudygalfi","id":3888212,"avatar_url":"https://avatars3.githubusercontent.com/u/3888212?v=4","gravatar_id":"","url":"https://api.github.com/users/rudygalfi","html_url":"https://github.com/rudygalfi","followers_url":"https://api.github.com/users/rudygalfi/followers","following_url":"https://api.github.com/users/rudygalfi/following{/other_user}","gists_url":"https://api.github.com/users/rudygalfi/gists{/gist_id}","starred_url":"https://api.github.com/users/rudygalfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudygalfi/subscriptions","organizations_url":"https://api.github.com/users/rudygalfi/orgs","repos_url":"https://api.github.com/users/rudygalfi/repos","events_url":"https://api.github.com/users/rudygalfi/events{/privacy}","received_events_url":"https://api.github.com/users/rudygalfi/received_events","type":"User","site_admin":false},"open_issues":216,"closed_issues":432,"state":"open","created_at":"2016-01-22T23:51:53Z","updated_at":"2017-07-21T18:14:44Z","due_on":"2017-12-31T08:00:00Z","closed_at":null},"comments":20,"created_at":"2017-02-01T09:16:30Z","updated_at":"2017-07-21T21:19:27Z","closed_at":null,"body":"## Short description of the issue\r\n\r\nWhen 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.\r\n\r\n## How do we reproduce the issue?\r\n\r\n1. Create an AMP page with a header with `position:fixed; top:0;` CSS.\r\n2. Get the result indexed\r\n3. Search for the page on Chrome in iOS\r\n4. Make sure the location bar is not displayed (only scroll down)\r\n5. Click on the search result\r\n6. You'll see that the header is \"calculated\" to be below the google bar, but is hidden by the height of the location bar.\r\n\r\nExample:\r\n\r\n![img_0719](https://cloud.githubusercontent.com/assets/1608474/22500695/8b355c28-e85d-11e6-83ab-52d7f618184d.PNG)\r\n \r\nExample of how it should look:\r\n\r\n![iphone-amp-correct](https://cloud.githubusercontent.com/assets/1608474/22500865/36e8dc16-e85e-11e6-85ff-767bf21f6cfe.png)\r\n\r\nPublic URL (works fine if you access it directly):\r\n* https://guidetoiceland.is/connect-with-locals/regina/the-magical-snaefellsnes-peninsula/amp\r\n\r\nSearch result that will cause the issue:\r\n* https://www.google.is/search?sourceid=chrome-psyapi2&ion=1&espv=2&ie=UTF-8&q=sn%C3%A6fellsnes&oq=sn%C3%A6&aqs=chrome.0.69i59j69i61j69i57j0j69i61l2.1266j0j7\r\n\r\nHere is a screen recording of where I reproduce the bug:\r\n* https://www.youtube.com/watch?v=s7Rl_p8cYUc\r\n\r\nI'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:\r\n* https://bugs.chromium.org/p/chromium/issues/detail?id=687317\r\n\r\n## What browsers are affected?\r\n\r\nChrome 55 on iOS.\r\n\r\n## Which AMP version is affected?\r\n\r\n1485231782273\r\n"},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/317115193","html_url":"https://github.com/ampproject/amphtml/issues/7283#issuecomment-317115193","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/7283","id":317115193,"user":{"login":"dvoytenko","id":726049,"avatar_url":"https://avatars0.githubusercontent.com/u/726049?v=4","gravatar_id":"","url":"https://api.github.com/users/dvoytenko","html_url":"https://github.com/dvoytenko","followers_url":"https://api.github.com/users/dvoytenko/followers","following_url":"https://api.github.com/users/dvoytenko/following{/other_user}","gists_url":"https://api.github.com/users/dvoytenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dvoytenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvoytenko/subscriptions","organizations_url":"https://api.github.com/users/dvoytenko/orgs","repos_url":"https://api.github.com/users/dvoytenko/repos","events_url":"https://api.github.com/users/dvoytenko/events{/privacy}","received_events_url":"https://api.github.com/users/dvoytenko/received_events","type":"User","site_admin":false},"created_at":"2017-07-21T21:19:27Z","updated_at":"2017-07-21T21:19:27Z","body":"Chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=687317"}}
{"actor":{"display_login":"dvoytenko"}}