Roblox-Tag-Editor
Roblox-Tag-Editor copied to clipboard
Maximum re-entry depth exceeded caused by canvas > widget size
Maximum event re-entrancy depth exceeded for Instance.AbsoluteContentSizeChanged While entering function defined in script 'Plugin_948084095.TagEditor.Plugin.Components.ScrollingFrame', line 13
Responsible code:
local function update()
local cs = rbx.AbsoluteContentSize
rbx.Parent.CanvasSize = UDim2.new(0, 0, 0, cs.y)
end
rbx:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(update)
update()
I'm guessing setting CanvasSize changes AbsoluteContentSize when the canvas's size is > the scrolling frame's.