{"action":"created","issue":{"url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/238","labels_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/238/comments","events_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/238/events","html_url":"https://github.com/slackhq/SlackTextViewController/issues/238","id":102496663,"number":238,"title":"Keyboard animations offset when used inside of UITabBarController","user":{"login":"krzd","id":1003886,"avatar_url":"https://avatars.githubusercontent.com/u/1003886?v=3","gravatar_id":"","url":"https://api.github.com/users/krzd","html_url":"https://github.com/krzd","followers_url":"https://api.github.com/users/krzd/followers","following_url":"https://api.github.com/users/krzd/following{/other_user}","gists_url":"https://api.github.com/users/krzd/gists{/gist_id}","starred_url":"https://api.github.com/users/krzd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzd/subscriptions","organizations_url":"https://api.github.com/users/krzd/orgs","repos_url":"https://api.github.com/users/krzd/repos","events_url":"https://api.github.com/users/krzd/events{/privacy}","received_events_url":"https://api.github.com/users/krzd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-22T02:25:17Z","updated_at":"2015-09-09T12:30:11Z","closed_at":null,"body":"When using this library inside of a UITabBarController, where the tab bar is not hidden, the animation for showing and hiding the keyboard are offset by the height of the tab bar.\r\nThe code seems to assume the tab bar would move with the text input bar, but instead it does not change its position and will be covered by the keyboard."},"comment":{"url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/comments/138894809","html_url":"https://github.com/slackhq/SlackTextViewController/issues/238#issuecomment-138894809","issue_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/238","id":138894809,"user":{"login":"krzd","id":1003886,"avatar_url":"https://avatars.githubusercontent.com/u/1003886?v=3","gravatar_id":"","url":"https://api.github.com/users/krzd","html_url":"https://github.com/krzd","followers_url":"https://api.github.com/users/krzd/followers","following_url":"https://api.github.com/users/krzd/following{/other_user}","gists_url":"https://api.github.com/users/krzd/gists{/gist_id}","starred_url":"https://api.github.com/users/krzd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzd/subscriptions","organizations_url":"https://api.github.com/users/krzd/orgs","repos_url":"https://api.github.com/users/krzd/repos","events_url":"https://api.github.com/users/krzd/events{/privacy}","received_events_url":"https://api.github.com/users/krzd/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T12:30:11Z","updated_at":"2015-09-09T12:30:11Z","body":"It still seems to happen. I now tried the Programatic Example, replacing in AppDelegate:\r\n```objc\r\nself.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:[MessageViewController new]];\r\n```\r\nwith\r\n```objc\r\nUITabBarController *controller = [[UITabBarController alloc] init];\r\ncontroller.viewControllers = @[[[UINavigationController alloc] initWithRootViewController:[MessageViewController new]]];\r\nself.window.rootViewController = controller;\r\n```\r\n\r\nNow when doing this, there is indeed no black gap. However, there still is one, as shown below:\r\n![ios simulator screen shot 9 sep 2015 13 27 17](https://cloud.githubusercontent.com/assets/1003886/9761797/cc7f4170-56f6-11e5-8bfc-7db6ee07c676.png)\r\n"}}