Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2018.4.24f1
2019.4
2020.1
2020.2
Issue ID
1264255
Regression
No
Scroll position of scrollrect within a scrollview jumps when content is expanded and it is pushed against elastic bounds
How to reproduce:
1. Open attached project "ScrollRectRepro.zip" and scene "SampleScene"
2. In Hierarchy window, select "Content" object (Canvas -> Scroll View -> Viewport -> Content)
3. Enter Play mode
4. Do step 5-6 in less than 1 second while NOT releasing the mouse button
5. In Game view, drag the scroll rect downwards its lower elastic bounds
6. Drag the scroll rect upwards to its upper elastic bounds
7. Wait for 1 second and move the rect slightly upwards
8. Observe the rect
Expected result: the rect is moved slightly upwards
Actual result: the rect jumps/offsets fast
Reproducible with: 2018.4.25f1, 2019.4.5f1, 2020.1.0f1, 2020.2.0a18
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
Resolution Note (2020.2.X):
Resolved issue inside users code. When stating a drag we set a local variable m_ContentStartPosition which is then used through out the drag. When the content size changes from the anchorPosition (large size at the top) the startPosition is then incorrect. Updating it based upon the size that was added corrects the issue.