Trying to auto scroll all the way to the end with Scroll Rect
As it said [here][1] I used if (scrollRect.horizontalNormalizedPosition >= 0.95f)
to detect if I've reached the end, then if the if statement is true I do this scrollRect.horizontalNormalizedPosition = 1f;
to snap it into the position. the problem is that the view won't contain the item completely as shown in the picture below: ![alt text][2] now I'm going to include my content in the inspector down below, Content: ![alt text][3]
I hope my issue is clear: I want it to show the last item completely and stay there. [1]: https://answers.unity.com/questions/1556725/scroll-rect-things.html [2]: /storage/temp/188917-1.png [3]: /storage/temp/188918-content.png
Your answer
Follow this Question
Related Questions
How to make a scroll rect NOT overflow? 1 Answer
How to prevent scroll rect's content from moving after it reached its borders? 0 Answers
How to keep panel inside scroll area when panel is shrunk? 0 Answers
Scroll view script wont show button images 0 Answers
My Scroll keeps jumping back to middle? 0 Answers