{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/16826","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/16826/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/16826/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/16826/events","html_url":"https://github.com/facebook/react-native/issues/16826","id":273979102,"node_id":"MDU6SXNzdWUyNzM5NzkxMDI=","number":16826,"title":"KeyboardAvoidingView has no effect on multiline TextInput","user":{"login":"peacechen","id":6295083,"node_id":"MDQ6VXNlcjYyOTUwODM=","avatar_url":"https://avatars3.githubusercontent.com/u/6295083?v=4","gravatar_id":"","url":"https://api.github.com/users/peacechen","html_url":"https://github.com/peacechen","followers_url":"https://api.github.com/users/peacechen/followers","following_url":"https://api.github.com/users/peacechen/following{/other_user}","gists_url":"https://api.github.com/users/peacechen/gists{/gist_id}","starred_url":"https://api.github.com/users/peacechen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peacechen/subscriptions","organizations_url":"https://api.github.com/users/peacechen/orgs","repos_url":"https://api.github.com/users/peacechen/repos","events_url":"https://api.github.com/users/peacechen/events{/privacy}","received_events_url":"https://api.github.com/users/peacechen/received_events","type":"User","site_admin":false},"labels":[{"id":869668024,"node_id":"MDU6TGFiZWw4Njk2NjgwMjQ=","url":"https://api.github.com/repos/facebook/react-native/labels/:large_orange_diamond:TextInput","name":":large_orange_diamond:TextInput","color":"fef2c0","default":false},{"id":337217254,"node_id":"MDU6TGFiZWwzMzcyMTcyNTQ=","url":"https://api.github.com/repos/facebook/react-native/labels/Ran%20Commands","name":"Ran Commands","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-11-14T23:20:10Z","updated_at":"2018-06-29T15:56:53Z","closed_at":null,"author_association":"NONE","body":"KeyboardAvoidingView only works with single-line TextInputs.  When the `multiline` prop is set, KeyboardAvoidingView does not shift the TextInput at all.\r\n\r\n### Is this a bug report?\r\nYes\r\n\r\n### Have you read the [Contributing Guidelines](https://facebook.github.io/react-native/docs/contributing.html)?\r\nYes\r\n\r\n### Environment\r\n  Environment:\r\n    OS:  macOS Sierra 10.12.6\r\n    Node:  7.0.0\r\n    npm:  3.10.8\r\n    Watchman:  4.7.0\r\n    Xcode:  9.1\r\n\r\n  Packages: (wanted => installed)\r\n    react-native: 0.49.3\r\n    react: 16.0.0-beta.5\r\n\r\n  Target Platform: iOS (10.3)\r\n\r\n### Steps to Reproduce\r\n\r\n1. Use a `<TextInput>` component with `multiline` prop set.\r\n2. Wrap this in a ScrollView\r\n3. Wrap that in a KeyboardAvoidingView.\r\n\r\n### Expected Behavior\r\n\r\nMultiline TextInput should scroll above the soft keyboard.\r\n\r\n### Actual Behavior\r\n\r\nSoft keyboard covers multiline TextInput.\r\n\r\n### Reproducible Demo\r\n\r\n```\r\nimport React, { Component } from 'react';\r\nimport { Text, TextInput, View, ScrollView, KeyboardAvoidingView, Keyboard} from 'react-native';\r\n\r\n...\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t<KeyboardAvoidingView style={{flex:1}} behavior=\"padding\" keyboardVerticalOffset={64}>\r\n\t\t\t\t<ScrollView keyboardShouldPersistTaps={'handled'}>\r\n\t\t\t\t\t<View style={{padding: 12}}>\r\n\t\t\t\t\t\t// various content to fill the page\r\n\t\t\t\t\t\t<Text style={{fontSize: 20, padding: 40}}>MESSAGE 1</Text>\r\n\t\t\t\t\t\t<Text style={{fontSize: 20, padding: 40}}>MESSAGE 2</Text>\r\n\t\t\t\t\t\t<Text style={{fontSize: 20, padding: 40}}>MESSAGE 3</Text>\r\n\t\t\t\t\t\t<Text style={{fontSize: 20, padding: 40}}>MESSAGE 4</Text>\r\n\t\t\t\t\t\t<Text style={{fontSize: 20, padding: 40}}>MESSAGE 5</Text>\r\n\t\t\t\t\t\t<Text style={{fontSize: 20, padding: 40}}>MESSAGE 6</Text>\r\n\t\t\t\t\t\t<Text style={{fontSize: 20, padding: 40}}>MESSAGE 7</Text>\r\n\t\t\t\t\t\t<Text style={{fontSize: 20, padding: 40}}>MESSAGE 8</Text>\r\n\t\t\t\t\t\t<Text style={{fontSize: 20, padding: 40}}>MESSAGE 9</Text>\r\n\t\t\t\t\t\t<Text style={{fontSize: 20, padding: 40}}>MESSAGE 10</Text>\r\n\t\t\t\t\t</View>\r\n\t\t\t\t\t<TextInput\r\n\t\t\t\t\t\tstyle={{padding: 4}}\r\n\t\t\t\t\t\tmultiline={true}\r\n\t\t\t\t\t\tplaceholder={'Type something here...'}\r\n\t\t\t\t\t\tonChangeText={this.updateMessage}\r\n\t\t\t\t\t\tvalue={this.state.message}\r\n\t\t\t\t\t/>\r\n\t\t\t\t</ScrollView>\r\n\t\t\t</KeyboardAvoidingView>\r\n\t\t);\r\n\t}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/401397740","html_url":"https://github.com/facebook/react-native/issues/16826#issuecomment-401397740","issue_url":"https://api.github.com/repos/facebook/react-native/issues/16826","id":401397740,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTM5Nzc0MA==","user":{"login":"kfroemming","id":13377170,"node_id":"MDQ6VXNlcjEzMzc3MTcw","avatar_url":"https://avatars1.githubusercontent.com/u/13377170?v=4","gravatar_id":"","url":"https://api.github.com/users/kfroemming","html_url":"https://github.com/kfroemming","followers_url":"https://api.github.com/users/kfroemming/followers","following_url":"https://api.github.com/users/kfroemming/following{/other_user}","gists_url":"https://api.github.com/users/kfroemming/gists{/gist_id}","starred_url":"https://api.github.com/users/kfroemming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfroemming/subscriptions","organizations_url":"https://api.github.com/users/kfroemming/orgs","repos_url":"https://api.github.com/users/kfroemming/repos","events_url":"https://api.github.com/users/kfroemming/events{/privacy}","received_events_url":"https://api.github.com/users/kfroemming/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T15:56:53Z","updated_at":"2018-06-29T15:56:53Z","author_association":"NONE","body":"Has anyone found a good solution for this?"}}
{"actor":{"display_login":"kfroemming"}}