Behavior like WhatsApp


#1

Hi,

I have a page aiming to let user post some comments.
Basically, there are one header, one ion-content and one ion-footer-bar containing the input text accepting the user’s comment:

I’m pointing out that I configure the keyboard plugin like this in order to disable native scrolling:

cordova.plugins.Keyboard.disableScroll(true);

Supposing a long list of comments, and the scroll cursor NOT at the end.
So when the user clicks on the input, the focus occurs like this:

At first glance, it seems good but it’s not very UX-oriented to not have the scroll getting the end.
Indeed, when I type a message, I want to see the exact previous comment.

Should I manually use the ionicScrollDelegate.scrollToBottom(true) to move the scroll to the bottom, while listening for the opened keyboard event?

Thanks a lot for any advice :wink: