[2.0.0-Beta.8] Scroll to bottom issue

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.

Could someone help me?

Thank you!

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

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.

1 Like