Unity scrollview can't scroll to the end

batuman picture batuman · Dec 8, 2017 · Viewed 9.3k times · Source

I have a scrollview.Horizontal and vertical scrollbars are removed because it is ugly and I have space constraint.

When I populate items into content of the scrollview as shown in the image enter image description here

I can't scroll. The view is moving but doesn't scroll. When I scroll, just scroll to some extent and scroll back to the original position.

What could be wrong?

enter image description here

Answer

Chuckiee3 picture Chuckiee3 · Sep 26, 2019
  1. Check if you have Vertical checkbox enabled on Scroll Rect component.
  2. On your content object after adding ContentSizeFitter, you need to select either Min Size or Preferred Size to make the scroll view content automatically resize. The unconstrained option doesn't drive the height so your scroll view won't scroll.