- Add a ScrollView to a canvas
- Resize the height so that you can see all of the client area
- Add a button inside the Viewport/Content element
- Add another button under it, and scroll it down so that it disappears just off the bottom, out of sight
- Run the app
Expected: I should be able to scroll the scroll view to see the lower button
Actual: I am able to pull the view so that the lower button is visible, but when I release the mouse button it snaps back so the button is not visible
Even if I add a ContentSizeFitter script to the Viewport/Content and try the different “Vertical Fit” settings I am unable to place the buttons where I specified and have it possible to scroll the button into view and keep it there.
Can someone tell me, is this a bug or am I doing something wrong?
(Unity 2017.3.0f3)