{"action":"created","issue":{"url":"https://api.github.com/repos/APSL/react-native-keyboard-aware-scroll-view/issues/294","repository_url":"https://api.github.com/repos/APSL/react-native-keyboard-aware-scroll-view","labels_url":"https://api.github.com/repos/APSL/react-native-keyboard-aware-scroll-view/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/APSL/react-native-keyboard-aware-scroll-view/issues/294/comments","events_url":"https://api.github.com/repos/APSL/react-native-keyboard-aware-scroll-view/issues/294/events","html_url":"https://github.com/APSL/react-native-keyboard-aware-scroll-view/issues/294","id":350782174,"node_id":"MDU6SXNzdWUzNTA3ODIxNzQ=","number":294,"title":"scrollToPosition does not work on Android","user":{"login":"rizkyario","id":6814254,"node_id":"MDQ6VXNlcjY4MTQyNTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6814254?v=4","gravatar_id":"","url":"https://api.github.com/users/rizkyario","html_url":"https://github.com/rizkyario","followers_url":"https://api.github.com/users/rizkyario/followers","following_url":"https://api.github.com/users/rizkyario/following{/other_user}","gists_url":"https://api.github.com/users/rizkyario/gists{/gist_id}","starred_url":"https://api.github.com/users/rizkyario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rizkyario/subscriptions","organizations_url":"https://api.github.com/users/rizkyario/orgs","repos_url":"https://api.github.com/users/rizkyario/repos","events_url":"https://api.github.com/users/rizkyario/events{/privacy}","received_events_url":"https://api.github.com/users/rizkyario/received_events","type":"User","site_admin":false},"labels":[{"id":1032073766,"node_id":"MDU6TGFiZWwxMDMyMDczNzY2","url":"https://api.github.com/repos/APSL/react-native-keyboard-aware-scroll-view/labels/android","name":"android","color":"a4c639","default":false}],"state":"open","locked":false,"assignee":{"login":"Moreno97","id":17690283,"node_id":"MDQ6VXNlcjE3NjkwMjgz","avatar_url":"https://avatars0.githubusercontent.com/u/17690283?v=4","gravatar_id":"","url":"https://api.github.com/users/Moreno97","html_url":"https://github.com/Moreno97","followers_url":"https://api.github.com/users/Moreno97/followers","following_url":"https://api.github.com/users/Moreno97/following{/other_user}","gists_url":"https://api.github.com/users/Moreno97/gists{/gist_id}","starred_url":"https://api.github.com/users/Moreno97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moreno97/subscriptions","organizations_url":"https://api.github.com/users/Moreno97/orgs","repos_url":"https://api.github.com/users/Moreno97/repos","events_url":"https://api.github.com/users/Moreno97/events{/privacy}","received_events_url":"https://api.github.com/users/Moreno97/received_events","type":"User","site_admin":false},"assignees":[{"login":"Moreno97","id":17690283,"node_id":"MDQ6VXNlcjE3NjkwMjgz","avatar_url":"https://avatars0.githubusercontent.com/u/17690283?v=4","gravatar_id":"","url":"https://api.github.com/users/Moreno97","html_url":"https://github.com/Moreno97","followers_url":"https://api.github.com/users/Moreno97/followers","following_url":"https://api.github.com/users/Moreno97/following{/other_user}","gists_url":"https://api.github.com/users/Moreno97/gists{/gist_id}","starred_url":"https://api.github.com/users/Moreno97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moreno97/subscriptions","organizations_url":"https://api.github.com/users/Moreno97/orgs","repos_url":"https://api.github.com/users/Moreno97/repos","events_url":"https://api.github.com/users/Moreno97/events{/privacy}","received_events_url":"https://api.github.com/users/Moreno97/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-08-15T11:53:39Z","updated_at":"2018-08-30T17:48:10Z","closed_at":null,"author_association":"NONE","body":"scrollToPosition works fine on iOS but does not work on Android.\r\nI've set `windowSoftInputMode` to `adjustPan`\r\nAny idea how to make it work on android?\r\n\r\n```es6\r\nlet scroll;\r\nconst scrollPosition = 200;\r\nconst SignupForm = (props: Props) => (\r\n  <KeyboardAwareScrollView\r\n    contentContainerStyle={styles.container}\r\n    keyboardShouldPersistTaps=\"always\"\r\n    enableOnAndroid\r\n    enableAutomaticScroll={false}\r\n    innerRef={(ref) => { scroll = ref; }}\r\n  >\r\n    <View style={styles.row}>\r\n      <TextField\r\n        title={props.intl.formatMessage({ id: 'SignupForm.field.email' })}\r\n        value={props.signupForm.email}\r\n        onFocus={() => scroll.props.scrollToPosition(0, scrollPosition)}\r\n      />\r\n    </View>\r\n    {/* ....More TextFields here.... */}\r\n    <View style={styles.row}>\r\n      <TextField\r\n        title={props.intl.formatMessage({ id: 'SignupForm.field.password' })}\r\n        value={props.signupForm.password}\r\n        onFocus={() => scroll.props.scrollToPosition(0, scrollPosition)}\r\n      />\r\n    </View>\r\n    <View style={styles.row}>\r\n      <Button\r\n        onPress={props.onSubmitForm}\r\n        label={props.intl.formatMessage({ id: 'SignupForm.createAccount' })}\r\n      />\r\n    </View>\r\n  </KeyboardAwareScrollView>\r\n);\r\n```"},"comment":{"url":"https://api.github.com/repos/APSL/react-native-keyboard-aware-scroll-view/issues/comments/417408095","html_url":"https://github.com/APSL/react-native-keyboard-aware-scroll-view/issues/294#issuecomment-417408095","issue_url":"https://api.github.com/repos/APSL/react-native-keyboard-aware-scroll-view/issues/294","id":417408095,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzQwODA5NQ==","user":{"login":"Moreno97","id":17690283,"node_id":"MDQ6VXNlcjE3NjkwMjgz","avatar_url":"https://avatars0.githubusercontent.com/u/17690283?v=4","gravatar_id":"","url":"https://api.github.com/users/Moreno97","html_url":"https://github.com/Moreno97","followers_url":"https://api.github.com/users/Moreno97/followers","following_url":"https://api.github.com/users/Moreno97/following{/other_user}","gists_url":"https://api.github.com/users/Moreno97/gists{/gist_id}","starred_url":"https://api.github.com/users/Moreno97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moreno97/subscriptions","organizations_url":"https://api.github.com/users/Moreno97/orgs","repos_url":"https://api.github.com/users/Moreno97/repos","events_url":"https://api.github.com/users/Moreno97/events{/privacy}","received_events_url":"https://api.github.com/users/Moreno97/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T17:48:10Z","updated_at":"2018-08-30T17:48:10Z","author_association":"MEMBER","body":"The last version is 0.7.2, you should update to the latest, because maybe the API has changed along the versions."}}
{"actor":{"display_login":"Moreno97"}}