Hi, I have a weird bug with a ScrollFrame (using GridLayout) where if i set my CanvasSize something else than (0, 2) i can't reach the end of my scrollframe (with autosize XY)
On top of this, my UIPadding scales the Top Padding based on how many items are cloned in my GridLayout, even if the parent is my ScrollingFrame except if i set the values to offset
Considering that i have another gui using the exact same structure/settings working perfectly fine i dont think its related to the GUI itself, the problem being that after checking multiple times my code i dont see anything that could cause this issue
I tried to search for CanvasSize, Size, Padding etc even in all scripts just in case but nothing change this and i dont know what else i should look for
This is the 2 scripts i use, im new to roblox dev so it might not be perfect but i'm 99% sure i have nothing that should change my UI
If someone have a few minutes to take a look here or just know what i should look for other than the one i already tried to find
Inventory LocalScript : https://pastebin.com/04i6FZ6A
Inventory ModuleScript : https://pastebin.com/H0UZCyNG
Screens of the bug (1 is the bugged CanvasSize, 2 is the bugged padding)