{"action":"created","issue":{"url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/200","repository_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat","labels_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/200/comments","events_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/200/events","html_url":"https://github.com/FaridSafi/react-native-gifted-chat/issues/200","id":171417181,"number":200,"title":"Android: Issue when displayed in Modal","user":{"login":"pfeiffer","id":195925,"avatar_url":"https://avatars2.githubusercontent.com/u/195925?v=4","gravatar_id":"","url":"https://api.github.com/users/pfeiffer","html_url":"https://github.com/pfeiffer","followers_url":"https://api.github.com/users/pfeiffer/followers","following_url":"https://api.github.com/users/pfeiffer/following{/other_user}","gists_url":"https://api.github.com/users/pfeiffer/gists{/gist_id}","starred_url":"https://api.github.com/users/pfeiffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfeiffer/subscriptions","organizations_url":"https://api.github.com/users/pfeiffer/orgs","repos_url":"https://api.github.com/users/pfeiffer/repos","events_url":"https://api.github.com/users/pfeiffer/events{/privacy}","received_events_url":"https://api.github.com/users/pfeiffer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-16T13:57:10Z","updated_at":"2017-10-11T08:21:00Z","closed_at":"2016-08-16T14:30:12Z","author_association":"NONE","body":"There is an issue with the keyboard/height adjustments when displaying the component in a `Modal`.\n\nIt can be reproduced with the following simple render code:\n\n```\n<Image source={{ uri: 'http://cdn.pcwallart.com/images/dark-gradient-tumblr-wallpaper-1.jpg'}} style={{ flex: 1 }}>\n  <GiftedChat />\n</Image>\n```\n\nThis renders the following:\n<img src=\"https://cloud.githubusercontent.com/assets/195925/17701288/993da406-63c9-11e6-8db1-33e936a73155.png\" width=\"200\">\n\nWhen focusing the TextInput, the component correctly resizes and positiones the input bar:\n\n<img src=\"https://cloud.githubusercontent.com/assets/195925/17701306/ab0b1e66-63c9-11e6-8b48-b5b8e6105d40.png\" width=\"200\">\n\n**However** when the code above is wrapped in a `<Modal> .. </Modal>` the following happens when focusing the TextInput:\n\n<img src=\"https://cloud.githubusercontent.com/assets/195925/17701330/bce88772-63c9-11e6-82cc-72cd07558a02.png\" width=\"200\">\n\nThere are no issues on iOS.\n"},"comment":{"url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/comments/335729434","html_url":"https://github.com/FaridSafi/react-native-gifted-chat/issues/200#issuecomment-335729434","issue_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/200","id":335729434,"user":{"login":"RealAmissio","id":19276597,"avatar_url":"https://avatars2.githubusercontent.com/u/19276597?v=4","gravatar_id":"","url":"https://api.github.com/users/RealAmissio","html_url":"https://github.com/RealAmissio","followers_url":"https://api.github.com/users/RealAmissio/followers","following_url":"https://api.github.com/users/RealAmissio/following{/other_user}","gists_url":"https://api.github.com/users/RealAmissio/gists{/gist_id}","starred_url":"https://api.github.com/users/RealAmissio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RealAmissio/subscriptions","organizations_url":"https://api.github.com/users/RealAmissio/orgs","repos_url":"https://api.github.com/users/RealAmissio/repos","events_url":"https://api.github.com/users/RealAmissio/events{/privacy}","received_events_url":"https://api.github.com/users/RealAmissio/received_events","type":"User","site_admin":false},"created_at":"2017-10-11T08:21:00Z","updated_at":"2017-10-11T08:21:00Z","author_association":"NONE","body":"the same in the modal"}}
{"actor":{"display_login":"RealAmissio"}}