{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/20199","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/20199/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/20199/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/20199/events","html_url":"https://github.com/facebook/react-native/issues/20199","id":341201139,"node_id":"MDU6SXNzdWUzNDEyMDExMzk=","number":20199,"title":"How to keep focused element centered within a ScrollView (horizontal) on Android TV","user":{"login":"luigiplr","id":14136187,"node_id":"MDQ6VXNlcjE0MTM2MTg3","avatar_url":"https://avatars0.githubusercontent.com/u/14136187?v=4","gravatar_id":"","url":"https://api.github.com/users/luigiplr","html_url":"https://github.com/luigiplr","followers_url":"https://api.github.com/users/luigiplr/followers","following_url":"https://api.github.com/users/luigiplr/following{/other_user}","gists_url":"https://api.github.com/users/luigiplr/gists{/gist_id}","starred_url":"https://api.github.com/users/luigiplr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigiplr/subscriptions","organizations_url":"https://api.github.com/users/luigiplr/orgs","repos_url":"https://api.github.com/users/luigiplr/repos","events_url":"https://api.github.com/users/luigiplr/events{/privacy}","received_events_url":"https://api.github.com/users/luigiplr/received_events","type":"User","site_admin":false},"labels":[{"id":870851515,"node_id":"MDU6TGFiZWw4NzA4NTE1MTU=","url":"https://api.github.com/repos/facebook/react-native/labels/:large_blue_diamond:Android","name":":large_blue_diamond:Android","color":"bfd4f2","default":false},{"id":846765400,"node_id":"MDU6TGFiZWw4NDY3NjU0MDA=","url":"https://api.github.com/repos/facebook/react-native/labels/:rewind:Old%20Version","name":":rewind:Old Version","color":"d4c5f9","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":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-14T02:21:11Z","updated_at":"2018-07-29T00:05:09Z","closed_at":"2018-07-29T00:05:09Z","author_association":"NONE","body":"Normally on Android TV's when you scroll through a horizontal scroll view it will keep the focused element in the center of the screen until you reach the end of the row.\r\n\r\nIs there a way to replicate this behavior with React Native ScrollView's?\r\n\r\nSide-note: I have been able to replicate the behavior with `ScrollView.scrollTo` and some `onFocus` handlers however since I'm unable to cancel out the native scroll to behavior when an element is off screen it results in a super janky animation conflict...\r\n\r\n## Environment\r\n\r\n```PS C:\\git\\...> react-native info\r\nEnvironment:\r\n  OS: Windows 10\r\n  Node: 9.10.1\r\n  Yarn: 1.7.0\r\n  npm: 5.6.0\r\n  Watchman: Not Found\r\n  Xcode: N/A\r\n  Android Studio: Version  3.1.0.0 AI-173.4819257\r\n\r\nPackages: (wanted => installed)\r\n  react: 16.4.1 => 16.4.1\r\n  react-native: ^0.55.4 => 0.55.4\r\n```"}}
{"actor":{"display_login":"react-native-bot"}}