{"action":"created","issue":{"url":"https://api.github.com/repos/xmartlabs/XLPagerTabStrip/issues/45","labels_url":"https://api.github.com/repos/xmartlabs/XLPagerTabStrip/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/xmartlabs/XLPagerTabStrip/issues/45/comments","events_url":"https://api.github.com/repos/xmartlabs/XLPagerTabStrip/issues/45/events","html_url":"https://github.com/xmartlabs/XLPagerTabStrip/pull/45","id":98908407,"number":45,"title":"Bug Fix - Button Bar Selection on Current Page Issues","user":{"login":"jamesjychong","id":9149792,"avatar_url":"https://avatars.githubusercontent.com/u/9149792?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesjychong","html_url":"https://github.com/jamesjychong","followers_url":"https://api.github.com/users/jamesjychong/followers","following_url":"https://api.github.com/users/jamesjychong/following{/other_user}","gists_url":"https://api.github.com/users/jamesjychong/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesjychong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesjychong/subscriptions","organizations_url":"https://api.github.com/users/jamesjychong/orgs","repos_url":"https://api.github.com/users/jamesjychong/repos","events_url":"https://api.github.com/users/jamesjychong/events{/privacy}","received_events_url":"https://api.github.com/users/jamesjychong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-04T07:41:46Z","updated_at":"2015-08-13T19:02:03Z","closed_at":"2015-08-13T19:01:43Z","pull_request":{"url":"https://api.github.com/repos/xmartlabs/XLPagerTabStrip/pulls/45","html_url":"https://github.com/xmartlabs/XLPagerTabStrip/pull/45","diff_url":"https://github.com/xmartlabs/XLPagerTabStrip/pull/45.diff","patch_url":"https://github.com/xmartlabs/XLPagerTabStrip/pull/45.patch"},"body":"When you select button for current page, selected bar does not update when you scroll container scroll view. The reason is that 'shouldUpdateButtonBarView' varaible does not reset back to true, because [UIScrollViewDelegate scrollViewDidEndScrollingAnimation] is never called when you select button for current page.\r\n\r\nI resolved this issue by avoiding current page selection by comparing NSIndexPath.item with self.currentIndex."},"comment":{"url":"https://api.github.com/repos/xmartlabs/XLPagerTabStrip/issues/comments/130804453","html_url":"https://github.com/xmartlabs/XLPagerTabStrip/pull/45#issuecomment-130804453","issue_url":"https://api.github.com/repos/xmartlabs/XLPagerTabStrip/issues/45","id":130804453,"user":{"login":"michaelEllisUy","id":10197945,"avatar_url":"https://avatars.githubusercontent.com/u/10197945?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelEllisUy","html_url":"https://github.com/michaelEllisUy","followers_url":"https://api.github.com/users/michaelEllisUy/followers","following_url":"https://api.github.com/users/michaelEllisUy/following{/other_user}","gists_url":"https://api.github.com/users/michaelEllisUy/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelEllisUy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelEllisUy/subscriptions","organizations_url":"https://api.github.com/users/michaelEllisUy/orgs","repos_url":"https://api.github.com/users/michaelEllisUy/repos","events_url":"https://api.github.com/users/michaelEllisUy/events{/privacy}","received_events_url":"https://api.github.com/users/michaelEllisUy/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T19:02:03Z","updated_at":"2015-08-13T19:02:03Z","body":":+1: "}}