{"action":"created","issue":{"url":"https://api.github.com/repos/boztalay/BOZPongRefreshControl/issues/13","labels_url":"https://api.github.com/repos/boztalay/BOZPongRefreshControl/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/boztalay/BOZPongRefreshControl/issues/13/comments","events_url":"https://api.github.com/repos/boztalay/BOZPongRefreshControl/issues/13/events","html_url":"https://github.com/boztalay/BOZPongRefreshControl/issues/13","id":54106749,"number":13,"title":"Issue when the system scrolls the table view automatically","user":{"login":"CraZyMuffinIPC","id":9216890,"avatar_url":"https://avatars.githubusercontent.com/u/9216890?v=3","gravatar_id":"","url":"https://api.github.com/users/CraZyMuffinIPC","html_url":"https://github.com/CraZyMuffinIPC","followers_url":"https://api.github.com/users/CraZyMuffinIPC/followers","following_url":"https://api.github.com/users/CraZyMuffinIPC/following{/other_user}","gists_url":"https://api.github.com/users/CraZyMuffinIPC/gists{/gist_id}","starred_url":"https://api.github.com/users/CraZyMuffinIPC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraZyMuffinIPC/subscriptions","organizations_url":"https://api.github.com/users/CraZyMuffinIPC/orgs","repos_url":"https://api.github.com/users/CraZyMuffinIPC/repos","events_url":"https://api.github.com/users/CraZyMuffinIPC/events{/privacy}","received_events_url":"https://api.github.com/users/CraZyMuffinIPC/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-12T21:07:18Z","updated_at":"2015-01-13T18:26:03Z","closed_at":null,"body":"If the table view is scrolled without user interaction, the pong view will not know the current offset of the table, so it may show up on screen unintentionally.\r\n\r\nThe case that I ran into: I have cells that expand/collapse when they are tapped. If you tap a cell in the middle of the table, the device will automatically move the cells below, thus having no effect on the position of the Pong view up above. However if you tap the last item in the list, it will move everything above. When collapsing, it will scroll the cells down, which also brings down the pong view.\r\n\r\nAs soon as I scroll the table manually, it sees the correct offset and removes the pong view.\r\n\r\nMy fix for this was to include a call to \"[self.pongRefreshControl scrollViewDidScroll];\" after the cell is collapsed, which allows the pong view to update to the correct offset with the new table position.\r\n\r\nMaybe this isn't a full-on bug, because I can't find a solution without a major refactor in the Pong library, but it should probably be included in the ReadMe as a footnote to call scrollViewDidScroll in cases where the table might be scrolled outside of \"scrollViewDidScroll\""},"comment":{"url":"https://api.github.com/repos/boztalay/BOZPongRefreshControl/issues/comments/69792996","html_url":"https://github.com/boztalay/BOZPongRefreshControl/issues/13#issuecomment-69792996","issue_url":"https://api.github.com/repos/boztalay/BOZPongRefreshControl/issues/13","id":69792996,"user":{"login":"boztalay","id":1679999,"avatar_url":"https://avatars.githubusercontent.com/u/1679999?v=3","gravatar_id":"","url":"https://api.github.com/users/boztalay","html_url":"https://github.com/boztalay","followers_url":"https://api.github.com/users/boztalay/followers","following_url":"https://api.github.com/users/boztalay/following{/other_user}","gists_url":"https://api.github.com/users/boztalay/gists{/gist_id}","starred_url":"https://api.github.com/users/boztalay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boztalay/subscriptions","organizations_url":"https://api.github.com/users/boztalay/orgs","repos_url":"https://api.github.com/users/boztalay/repos","events_url":"https://api.github.com/users/boztalay/events{/privacy}","received_events_url":"https://api.github.com/users/boztalay/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T18:26:03Z","updated_at":"2015-01-13T18:26:03Z","body":"Thanks for finding this! I hadn't tested it with collapsing and expanding cells. I'll need to take a look at it, but I'll make a note for now."}}