{"action":"opened","issue":{"url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/148","labels_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/148/comments","events_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/148/events","html_url":"https://github.com/slackhq/SlackTextViewController/issues/148","id":62769964,"number":148,"title":"Swift Example Scroll to Bottom not working correclty","user":{"login":"maail","id":955823,"avatar_url":"https://avatars.githubusercontent.com/u/955823?v=3","gravatar_id":"","url":"https://api.github.com/users/maail","html_url":"https://github.com/maail","followers_url":"https://api.github.com/users/maail/followers","following_url":"https://api.github.com/users/maail/following{/other_user}","gists_url":"https://api.github.com/users/maail/gists{/gist_id}","starred_url":"https://api.github.com/users/maail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maail/subscriptions","organizations_url":"https://api.github.com/users/maail/orgs","repos_url":"https://api.github.com/users/maail/repos","events_url":"https://api.github.com/users/maail/events{/privacy}","received_events_url":"https://api.github.com/users/maail/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-18T18:44:11Z","updated_at":"2015-03-18T18:44:11Z","closed_at":null,"body":"In the Swift Example, when the text is entered it's not scrolling to the last entered row. \r\n\r\nI've tried modifying the slk_scrollToBottomAnimated function in \"UIScrollView+SLKAdditions.m\" and couldn't get it to work. Might be issue with contentSize.height?\r\n\r\n- (CGRect)slk_bottomRect\r\n{\r\n    return CGRectMake(0, self.contentSize.height - CGRectGetHeight(self.bounds), CGRectGetWidth(self.bounds), CGRectGetHeight(self.bounds));\r\n}"}}