scrollIntoView in TEXT is not working as expected

Using text box - populating the textbox from code, like so textLog.setValue("blah..."); Then want to scroll the text to the most updated location to the very bottom using this line:
textLog.scrollIntoView({block: "end", behavior: "smooth"});

but nothing happens. Any thoughts?

From the docs:

scrollIntoView(options: any)

Scrolls the canvas or parent container so that the selected component appears in the visible area.

So scrollIntoView is used to scroll the component into view on the screen assuming your app is taller than the screen. It does not scroll the text into view within the component.

This is an interesting question! +1 to Bradly's comment, as far as I'm aware there isn't built-in support for this functionality at the moment but you might be able to accomplish it with a custom component.

There are a few ideas about how to build this out in this stackoverflow thread, there's also an interesting CSS approach here.

I've attached an example of what it might look like to use flex-direction: column-reverse to pin scrolling to the bottom that you can import!
fix-20scroll-20to-20bottom.json