{"action":"closed","issue":{"url":"https://api.github.com/repos/vivaxy/react-native-auto-height-image/issues/7","repository_url":"https://api.github.com/repos/vivaxy/react-native-auto-height-image","labels_url":"https://api.github.com/repos/vivaxy/react-native-auto-height-image/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/vivaxy/react-native-auto-height-image/issues/7/comments","events_url":"https://api.github.com/repos/vivaxy/react-native-auto-height-image/issues/7/events","html_url":"https://github.com/vivaxy/react-native-auto-height-image/issues/7","id":261204239,"number":7,"title":"Image doesn't respond to orientation changes","user":{"login":"patrickgalbraith","id":811945,"avatar_url":"https://avatars3.githubusercontent.com/u/811945?v=4","gravatar_id":"","url":"https://api.github.com/users/patrickgalbraith","html_url":"https://github.com/patrickgalbraith","followers_url":"https://api.github.com/users/patrickgalbraith/followers","following_url":"https://api.github.com/users/patrickgalbraith/following{/other_user}","gists_url":"https://api.github.com/users/patrickgalbraith/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickgalbraith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickgalbraith/subscriptions","organizations_url":"https://api.github.com/users/patrickgalbraith/orgs","repos_url":"https://api.github.com/users/patrickgalbraith/repos","events_url":"https://api.github.com/users/patrickgalbraith/events{/privacy}","received_events_url":"https://api.github.com/users/patrickgalbraith/received_events","type":"User","site_admin":false},"labels":[{"id":590667919,"url":"https://api.github.com/repos/vivaxy/react-native-auto-height-image/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":590667920,"url":"https://api.github.com/repos/vivaxy/react-native-auto-height-image/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-28T06:15:19Z","updated_at":"2017-12-20T02:20:07Z","closed_at":"2017-12-20T02:20:07Z","author_association":"NONE","body":"I am sizing the image to the window width and the image height doesn't seem to update when a new width is passed to the component.\r\n\r\nLooking at the code it looks like the image is only updated if the height is `0` (DEFAULT_HEIGHT). Shouldn't `updateImageHeight` also check to see if the width prop has changed?"}}
{"actor":{"display_login":"vivaxy"}}