{"action":"created","issue":{"url":"https://api.github.com/repos/philipwalton/flexbugs/issues/75","repository_url":"https://api.github.com/repos/philipwalton/flexbugs","labels_url":"https://api.github.com/repos/philipwalton/flexbugs/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/philipwalton/flexbugs/issues/75/comments","events_url":"https://api.github.com/repos/philipwalton/flexbugs/issues/75/events","html_url":"https://github.com/philipwalton/flexbugs/issues/75","id":101057502,"node_id":"MDU6SXNzdWUxMDEwNTc1MDI=","number":75,"title":"IE 11 - image resizing bug?","user":{"login":"darby3","id":4315010,"node_id":"MDQ6VXNlcjQzMTUwMTA=","avatar_url":"https://avatars0.githubusercontent.com/u/4315010?v=4","gravatar_id":"","url":"https://api.github.com/users/darby3","html_url":"https://github.com/darby3","followers_url":"https://api.github.com/users/darby3/followers","following_url":"https://api.github.com/users/darby3/following{/other_user}","gists_url":"https://api.github.com/users/darby3/gists{/gist_id}","starred_url":"https://api.github.com/users/darby3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darby3/subscriptions","organizations_url":"https://api.github.com/users/darby3/orgs","repos_url":"https://api.github.com/users/darby3/repos","events_url":"https://api.github.com/users/darby3/events{/privacy}","received_events_url":"https://api.github.com/users/darby3/received_events","type":"User","site_admin":false},"labels":[{"id":383754065,"node_id":"MDU6TGFiZWwzODM3NTQwNjU=","url":"https://api.github.com/repos/philipwalton/flexbugs/labels/needs%20documenting","name":"needs documenting","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2015-08-14T17:17:54Z","updated_at":"2018-06-27T14:00:33Z","closed_at":null,"author_association":"NONE","body":"So, I'm resizing an image to fill the width of a flex div. In Chrome, this works like I would expect it to: the image fills the div by width and auto's the height proportionally. In IE 11, though, it appears to size the image correctly, but the surrounding body div sizes up its height (never collapses) as if the full height of the source image were there.\n\nhttp://codepen.io/darby3/pen/waZRme?editors=110\n\nIE 11 bug? Or am I doing something wrong?\n"},"comment":{"url":"https://api.github.com/repos/philipwalton/flexbugs/issues/comments/400682067","html_url":"https://github.com/philipwalton/flexbugs/issues/75#issuecomment-400682067","issue_url":"https://api.github.com/repos/philipwalton/flexbugs/issues/75","id":400682067,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDY4MjA2Nw==","user":{"login":"Anitorious","id":14886593,"node_id":"MDQ6VXNlcjE0ODg2NTkz","avatar_url":"https://avatars1.githubusercontent.com/u/14886593?v=4","gravatar_id":"","url":"https://api.github.com/users/Anitorious","html_url":"https://github.com/Anitorious","followers_url":"https://api.github.com/users/Anitorious/followers","following_url":"https://api.github.com/users/Anitorious/following{/other_user}","gists_url":"https://api.github.com/users/Anitorious/gists{/gist_id}","starred_url":"https://api.github.com/users/Anitorious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anitorious/subscriptions","organizations_url":"https://api.github.com/users/Anitorious/orgs","repos_url":"https://api.github.com/users/Anitorious/repos","events_url":"https://api.github.com/users/Anitorious/events{/privacy}","received_events_url":"https://api.github.com/users/Anitorious/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T14:00:33Z","updated_at":"2018-06-27T14:00:33Z","author_association":"NONE","body":"@Jip-Hop \r\nI seem to have discovered a work-around for this, setting the flex container to min-height: 1px and the image element to have a max-height: [VALUE], as well as max-width: 100%, with the max-height value being as large as you need. At least, this approach has worked for me."}}
{"actor":{"display_login":"Anitorious"}}