[2.0.0-Beta.8] Scroll to bottom issue


#1

Hello!

I’m trying to add itens in an array and when its added scrolls the view to the bottom.

But the views isn’t scrolled until the end. Take a look at the screenshot bellow:

Here is a Plunker with the issue.

https://embed.plnkr.co/OuliMDYct5F8Hd8MDwqp/

Could someone help me?

Thank you!


#2

Have you validated this issue on device? I have found issues like this are often not a real issue, but by-products of running in a desktop browser.

-Chris


#3

Yeah I did, I just resolved this putting a timeout around the scrollToBottom call.

Like this:

setTimeout(() => {
  this.content.scrollToBottom(300);
});

I thought it’s about a race condition with the array push.