Text scrolling breaks upon resizing while focused

Tweening the size of a TextBox while the focus is captured causes text to be improperly scrolled off-screen until the user either manually scrolls to the front, or the focus is lost, as shown in the video below.


Repro File

TextScrollingBugRepro.rbxl (54.6 KB)

Expected behavior

It makes sense that the text scrolls to the end to reflect the cursor position, however as the TextBox size increases, I’d expect scroll would be influenced as well, and fit the text within.

Thanks for the report! We’ll follow up when we have an update for you.

1 Like

Hi @yellp1, currently our TextBox scrolling doesn’t account for size changes while focused. We’ve created a ticket to look into adding support in the future.

As a workaround for now, you should be able to focus after the tween animation is complete. Is this a satisfactory workaround for your use case?