{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/2151","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/2151/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/2151/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/2151/events","html_url":"https://github.com/driftyco/ionic/issues/2151","id":42112412,"number":2151,"title":"Feature request: don't let header scroll offscreen when keyboard is shown","user":{"login":"dirkpostma","id":3089771,"avatar_url":"https://avatars.githubusercontent.com/u/3089771?v=3","gravatar_id":"","url":"https://api.github.com/users/dirkpostma","html_url":"https://github.com/dirkpostma","followers_url":"https://api.github.com/users/dirkpostma/followers","following_url":"https://api.github.com/users/dirkpostma/following{/other_user}","gists_url":"https://api.github.com/users/dirkpostma/gists{/gist_id}","starred_url":"https://api.github.com/users/dirkpostma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirkpostma/subscriptions","organizations_url":"https://api.github.com/users/dirkpostma/orgs","repos_url":"https://api.github.com/users/dirkpostma/repos","events_url":"https://api.github.com/users/dirkpostma/events{/privacy}","received_events_url":"https://api.github.com/users/dirkpostma/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"mhartington","id":2835826,"avatar_url":"https://avatars.githubusercontent.com/u/2835826?v=3","gravatar_id":"","url":"https://api.github.com/users/mhartington","html_url":"https://github.com/mhartington","followers_url":"https://api.github.com/users/mhartington/followers","following_url":"https://api.github.com/users/mhartington/following{/other_user}","gists_url":"https://api.github.com/users/mhartington/gists{/gist_id}","starred_url":"https://api.github.com/users/mhartington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhartington/subscriptions","organizations_url":"https://api.github.com/users/mhartington/orgs","repos_url":"https://api.github.com/users/mhartington/repos","events_url":"https://api.github.com/users/mhartington/events{/privacy}","received_events_url":"https://api.github.com/users/mhartington/received_events","type":"User","site_admin":false},"milestone":null,"comments":26,"created_at":"2014-09-06T08:58:32Z","updated_at":"2015-06-03T15:53:32Z","closed_at":"2015-06-03T15:53:31Z","body":"It would be convenient if the header doesn't scroll out of screen in case the keyboard shows up for some input field. I know I can use keyboard plugin and use disableScroll(true) but in that case, the content doesn't scroll either. What I want is:\r\n\r\nIn case keyboard pops up,\r\nI DO want the content to scroll up, \r\nI DON'T want the header to go offscreen\r\n\r\nExample usecase: chat app. In a conversation a user is chatting. In that case the user should be able to see the header, e.g. to see the name of person he chats with and to be able to go back to previous screen."},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/108494861","html_url":"https://github.com/driftyco/ionic/issues/2151#issuecomment-108494861","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/2151","id":108494861,"user":{"login":"mhartington","id":2835826,"avatar_url":"https://avatars.githubusercontent.com/u/2835826?v=3","gravatar_id":"","url":"https://api.github.com/users/mhartington","html_url":"https://github.com/mhartington","followers_url":"https://api.github.com/users/mhartington/followers","following_url":"https://api.github.com/users/mhartington/following{/other_user}","gists_url":"https://api.github.com/users/mhartington/gists{/gist_id}","starred_url":"https://api.github.com/users/mhartington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhartington/subscriptions","organizations_url":"https://api.github.com/users/mhartington/orgs","repos_url":"https://api.github.com/users/mhartington/repos","events_url":"https://api.github.com/users/mhartington/events{/privacy}","received_events_url":"https://api.github.com/users/mhartington/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T15:53:31Z","updated_at":"2015-06-03T15:53:31Z","body":"So if the issues is to make sure you can scroll to the bottom and not have the header scroll out of view, you can disable scrolling with the keyboard plugin, then call `$ionicsScrollDelegate.scrollBottom()` when you get a new message. \r\n\r\nhttp://ionicframework.com/docs/api/service/$ionicScrollDelegate/#scrollBottom\r\n"}}