{"action":"created","issue":{"url":"https://api.github.com/repos/skv-headless/react-native-scrollable-tab-view/issues/527","repository_url":"https://api.github.com/repos/skv-headless/react-native-scrollable-tab-view","labels_url":"https://api.github.com/repos/skv-headless/react-native-scrollable-tab-view/issues/527/labels{/name}","comments_url":"https://api.github.com/repos/skv-headless/react-native-scrollable-tab-view/issues/527/comments","events_url":"https://api.github.com/repos/skv-headless/react-native-scrollable-tab-view/issues/527/events","html_url":"https://github.com/skv-headless/react-native-scrollable-tab-view/issues/527","id":200886593,"number":527,"title":"Android scrollabletabbar is slow and not centered","user":{"login":"Amurmurmur","id":8608333,"avatar_url":"https://avatars.githubusercontent.com/u/8608333?v=3","gravatar_id":"","url":"https://api.github.com/users/Amurmurmur","html_url":"https://github.com/Amurmurmur","followers_url":"https://api.github.com/users/Amurmurmur/followers","following_url":"https://api.github.com/users/Amurmurmur/following{/other_user}","gists_url":"https://api.github.com/users/Amurmurmur/gists{/gist_id}","starred_url":"https://api.github.com/users/Amurmurmur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amurmurmur/subscriptions","organizations_url":"https://api.github.com/users/Amurmurmur/orgs","repos_url":"https://api.github.com/users/Amurmurmur/repos","events_url":"https://api.github.com/users/Amurmurmur/events{/privacy}","received_events_url":"https://api.github.com/users/Amurmurmur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-01-15T18:53:20Z","updated_at":"2017-01-21T16:54:27Z","closed_at":"2017-01-21T16:54:27Z","body":"On iOS by removing:\r\n\r\n`newScrollX = newScrollX >= 0 ? newScrollX : 0;`\r\nand\r\n```\r\nconst rightBoundScroll = this._tabContainerMeasurements.width - (this._containerMeasurements.width);\r\nnewScrollX = newScrollX > rightBoundScroll ? rightBoundScroll : newScrollX;\r\n```\r\nTabs are centered and pretty fast on scroll, however on android they are not centered and laggy.\r\nPlease see the difference below:\r\niOS:\r\n![tabs_fast_ios mov](https://cloud.githubusercontent.com/assets/8608333/21965236/e6732b86-db6c-11e6-97cf-9d971e595296.gif)\r\n\r\nAndroid:\r\n![tabs_slow mov](https://cloud.githubusercontent.com/assets/8608333/21965237/e6737d2a-db6c-11e6-988a-0b729b91cc15.gif)\r\n\r\nI would be very kind for any support!\r\n"},"comment":{"url":"https://api.github.com/repos/skv-headless/react-native-scrollable-tab-view/issues/comments/274273425","html_url":"https://github.com/skv-headless/react-native-scrollable-tab-view/issues/527#issuecomment-274273425","issue_url":"https://api.github.com/repos/skv-headless/react-native-scrollable-tab-view/issues/527","id":274273425,"user":{"login":"skv-headless","id":1488195,"avatar_url":"https://avatars.githubusercontent.com/u/1488195?v=3","gravatar_id":"","url":"https://api.github.com/users/skv-headless","html_url":"https://github.com/skv-headless","followers_url":"https://api.github.com/users/skv-headless/followers","following_url":"https://api.github.com/users/skv-headless/following{/other_user}","gists_url":"https://api.github.com/users/skv-headless/gists{/gist_id}","starred_url":"https://api.github.com/users/skv-headless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skv-headless/subscriptions","organizations_url":"https://api.github.com/users/skv-headless/orgs","repos_url":"https://api.github.com/users/skv-headless/repos","events_url":"https://api.github.com/users/skv-headless/events{/privacy}","received_events_url":"https://api.github.com/users/skv-headless/received_events","type":"User","site_admin":false},"created_at":"2017-01-21T16:54:27Z","updated_at":"2017-01-21T16:54:27Z","body":"close for #533"}}
{"actor":{"display_login":"skv-headless"}}