- Home /
ScrollRect contents do not align to top until input received
Consider the following image:
When I first start my game and open this menu, the contents of the scroll rect do not fill to the top unless there are more items in the list than the container can show at once.
When I provide input to it though (for instance scrolling via mousewheel), the problem is resolved for the duration of the game when using this menu.
I add the items in a script, but I do not think that should have any bearing, as I am using layout components.
Any idea what I could be doing wrong based on this image?
Your answer
Follow this Question
Related Questions
Scrollview with dynamic header (disappear when scroll up and appear when scroll down... smoothly) 0 Answers
Passing through a GameObject/Function to a button's OnClick 1 Answer
How to stop non-rectangular buttons from overlapping? 4 Answers
Terminate drag while mouse is still down 0 Answers
Scrollable zooming list 0 Answers