My UIGridLayout scrollingframe problem

https://gyazo.com/4ad7f14c905e3da69a4cd4fc79f44d39

VehicleItem.UIGridLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
	local newSize = VehicleItem.UIGridLayout.AbsoluteContentSize --newSize.X + 100
	VehicleItem.CanvasSize = UDim2.new(0, 0, 0, newSize.Y + 100 ) --+ script.Parent.Messages.AbsoluteSize.Y
end)

what’s wrong with my coding

Add UIAspectRatioConstraint inside the frame that you’re cloning and set AspectType to ScaleWithParentSize.