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
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?
Make sure that the Height
parameter in the Content
object is not equal to zero:
What happens when you press play:
Now let's set Height
to something much bigger than zero:
Here is what we get when we press play this time:
(The scroll bar appeared!)
Credit: Unity scrollview can't scroll to the end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With