r/UnityHelp • u/rhymesayerplayer • Sep 14 '21
Content in scroll view goes too high when scrolling down
When scrolling down in my scroll view, the bottom of the content does not stop near the bottom of the screen. Instead the content will continue until it is near the middle of the screen, and can be higher or lower depending on the screen size of the device the application is built to. How do I fix this? Any help would be immensely appreciated. I have tried to find a solution but like many of my issues with Unity, the solution is likely right under my nose.
1
u/SamElTerrible Sep 14 '21
Hey I had this issue recently. Have you tried the Content Size Fitter component? Attach it to your content gameobject (the parent of the list elements) and set its size to min size. That should always keep your list content within the total size of the list
1
u/Canamla Sep 14 '21
Removed my previous answer because I misunderstood the issue. But I'm pretty sure it's how your viewport is sized.