{"action":"opened","issue":{"url":"https://api.github.com/repos/FezVrasta/popper.js/issues/65","repository_url":"https://api.github.com/repos/FezVrasta/popper.js","labels_url":"https://api.github.com/repos/FezVrasta/popper.js/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/FezVrasta/popper.js/issues/65/comments","events_url":"https://api.github.com/repos/FezVrasta/popper.js/issues/65/events","html_url":"https://github.com/FezVrasta/popper.js/issues/65","id":169589083,"number":65,"title":"Popper won't flip correctly on IE","user":{"login":"claudiobmgrtnr","id":3873078,"avatar_url":"https://avatars.githubusercontent.com/u/3873078?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiobmgrtnr","html_url":"https://github.com/claudiobmgrtnr","followers_url":"https://api.github.com/users/claudiobmgrtnr/followers","following_url":"https://api.github.com/users/claudiobmgrtnr/following{/other_user}","gists_url":"https://api.github.com/users/claudiobmgrtnr/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiobmgrtnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiobmgrtnr/subscriptions","organizations_url":"https://api.github.com/users/claudiobmgrtnr/orgs","repos_url":"https://api.github.com/users/claudiobmgrtnr/repos","events_url":"https://api.github.com/users/claudiobmgrtnr/events{/privacy}","received_events_url":"https://api.github.com/users/claudiobmgrtnr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-05T11:40:30Z","updated_at":"2016-08-05T11:40:30Z","closed_at":null,"body":"### CodePen demo\r\n\r\nEdit this CodePen to allow the contributors to easily reproduce your problem.  \r\nhttp://codepen.io/claudiobmgrtnr/pen/grBrmV\r\n\r\n\r\n### Steps to reproduce the problem\r\n\r\nNOTE: The bug will only appear in IE10 or IE11. Edge works fine.\r\n\r\n1. Open any popper whose boundary element is \"viewport\"\r\n2. Apply \"overflow-y: auto\" to the body\r\n3. Scroll until it should flip to prevent itself exiting the viewport\r\n\r\n### What is the expected behavior?\r\n\r\nThe popper should flip to the correct position following the order of the desired flip behavior.\r\n\r\n### What went wrong?\r\n\r\nThe popper exits the viewport. There seems to be a problem in IE where scrolltop of the body will always be 0 if its \"overflow-y\" css property is set to \"auto\". This causes wrong calculation results of the boundaries. Removing the overflow-y property should fix it. \r\n\r\n### Any other comments?\r\nI didn't test it in IE9 \r\n"}}
{"actor":{"display_login":"claudiobmgrtnr"}}