- Home /
Question by
donovand4 · Jun 17, 2021 at 06:48 AM ·
uiclampscroll view
Scrollrect Clamp Not Working
Hi All, I'm trying to implement a vertical scrollrect using the clamped movement type but for some reason it will not move when the type is set to clamp. If I set it to unrestricted or elastic it works but I need to clamp the contents to the view to prevent it from infinitely scrolling or snapping back to the middle. I have tried to disable the inertia and change with the options, but clamp just does not work. My Unity Version is 2020.3.11f1.
untitled.png
(20.9 kB)
Comment
Answer by donovand4 · Jun 17, 2021 at 07:19 AM
Turns out the content size was set to full size and the height needed to be set to a specified amount of space.