ScrollingFrame does not work with multi-line TextBox

Bug:
When typing in a TextBox nested in a ScrollingFrame, it makes sense that the ScrollingFrame should still be able to function. Instead, the ScrollingFrame stops functioning entirely while the user is focused on the TextBox.

Expected behavior:
User can still scroll with the mouse wheel (or even by the text caret position) when writing text in a TextBox.

Current behavior:
ScrollingFrame is disabled while user is focused and typing in a TextBox. The mouse wheel does not scroll the frame.

Repro:

  1. Create a ScrollingFrame in an active ScreenGui
  2. Create a TextBox inside the ScrollingFrame w/ following properties:
    • MultiLine: true
    • ClearTextOnFocus: false
    • Size: {1, 0},{1, 0}
    • TextXAlignment: Left
    • TextYAlignment: Top
  3. Play the game in Studio & try writing lots of text
  4. Once text is past the visible frame, try scrolling using the mouse wheel (nothing should happen)

In order to scroll down to see the text, you have to click out of the TextBox and then scroll. Setting the CanvasSize to various sizes has no change on this behavior.

RBXL repro file:
TextBoxScrollingFrameBug.rbxl (16.3 KB)

3 Likes

I’ve created a ticket for this. Improving textboxes is on the roadmap for Q2 or Q3 of this year.

3 Likes

Awesome, thank you!

Hey I don’t mean to bump something as old as this but as far as I can tell the issue OP is describing is still present? I created a TextBox inside of a ScrollingFrame and am unable to scroll while the text box is in focus. The only difference now is that I’m using AutomaticSize, but this problem seems to be unrelated to the AutomaticSize property.

1 Like

Has anyone found a fix to this yet? Or at least a work around?

Hey Tiff,
I seen a post about this in a discord, and I was reading into it. I decided I was going to give it a try, and I’m actually getting this same error as well.

Did Roblox ever get around to fixing this?

Thanks,
Blaze

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.