AutomaticCanvasSize not working

So I put a scrolling frame with AutomaticCanvasSize, and I put a textbox inside of it. When I put a bunch of text in the textbox, the automatic canvas size will stop working. I also put AutomaticSize on the textbox.

How would I fix this?