Search Issue Tracker

Fixed in 2017.3.0f3

Votes

7

Found in

5.6.2f1

Issue ID

927710

Regression

No

[UI] Scrollrect doesn't reposition correctly when set to clamped

uGUI

-

How to reproduce:
1. Download attached project and open in Unity
2. Run the "RenderScene" scene
3. Press "Scroll To End" button to go to the bottom of the Scrollrect
4. Press "Hide Elements" to hide some of the elements

Expected result: Scrollrect in clamped mode suppose to change position after scrollbar disappear
Actual result: Scrollrect doesn't reposition correctly after scrollbar disappear (check attached gif 'Actual Result.gif')

Reproduced with: 5.4.1f1, 5.5.2f1, 5.6.2f1, 2017.1.0f3, 2017.2.0b2

Comments (1)

  1. fafase

    Jan 17, 2018 14:17

    Unity2017.2.0f3

    - Add a scrollview.
    - Add a slider
    - Control the scale of Content via slider (value is clamped between 1 and 4).
    - Use slider
    - Use scroll bars to move on the scrollview
    - Set slider back to 1
    - Image is not centered

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.