Scroll to bottom after keyboard shows

I want to scroll to bottom after keyboard is shown, but the keyboard disappears if I call the scrollBottom() method in the keyboard show callback function like this, any work around?

    window.addEventListener('native.keyboardshow', keyboardShowHandler);
    function keyboardShowHandler(e){
      $ionicScrollDelegate.$getByHandle('chatScroll').scrollBottom();
    }

I am having the exact same issue. I tried a directive that scrolls but it botches the whole thing!