Search Issue Tracker
Fixed in 2018.3.X
Votes
14
Found in
5.3.4p5
Issue ID
802330
Regression
No
Scrollbar stops velocity of 'Scroll Rect' unexpectedly
Reproduction Steps:
1. Open User's project
2. Run "TestScene"
-Note: "Scrollbar On" should be activated, therefore greyed.
3. Try pulling it up and down with your mouse.
4. Make it scroll down/up till the end by dragging quickly and releasing mouse button before it hits it
5. Notice that it stops instantly when it reaches the end
6. Click "Scrollbar Off"
7. Try 3 and 4 steps again
8. Notice that it does not stop at the end and goes a bit further and then comes back elastically
Note: There is User's provided GIF showing the issue.
Expected: Same behaviour with and without Scrollbar.
Reproduced in versions: Unity 5.2.4f1, 5.3.4p5, 5.3.5.p2, 5.3.5p3, 5.4.0b20, 5.4.0b21.
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
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
- Particles are rendered behind other GameObjects in the Scene view when the projection is Isometric
- Addressable asset download size remains non-zero when cached in WebGL Player
- The Camera type is registered as Game type when it is actually a Preview Camera
jubaq
Aug 12, 2020 05:21
Great piece of information is given by the unity developers about scrolling the scroll bar down and resist speed. The unity has found a new issue tracker from https://www.resumehelpaustralia.com/exceptional-resumes-review/ and it stops the velocity of scroll react unexpectedly.
pineda100
Feb 16, 2017 17:04
Seems that i can't edit my comment.
Here is the correct code, observed a few issues in the previous one.
http://pastebin.com/bEeBeh5j
Note that the issue is not observed when scrollbars are not assigned to scrollrect. This is a Script to workaround the issue temporarily, by not assigning the scrollbar to the scroll rect, But to update the scrollbar functionality manually.
pineda100
Feb 16, 2017 16:30
Same issue is observed.
Here's a pastebin of a script i wrote to manually use scrollbars.
http://pastebin.com/iaCvL77C
JanusAnderson
Nov 14, 2016 16:07
I see that this has 'workaround is possible' marked - what is the workaround other than removing the scroll bar? I really need a solution to this if anyone has one.
MPM
Aug 17, 2016 10:36
Easy reproduction from scratch (5.4.0f3) :
- Create new 2D Project
- Create ScrollView: GameObject > UI > Scroll View
- Set Scroll View transform position to 0 , 0
- Set Deceleration Rate to 1 in Scroll View "Scroll Rect"
- In Scroll View/Viewport/Content set height to 3000
Push Play and Scroll Vertically by dragging the content like we do on a touch screen (do not use the scroll bar): the scrolling stops for no reason.
This happens in Editor and on Android build.
Two notes:
1. It occurs above a certain value for the content height (it depends from the scrollview height)
2. Setting the vertical Scrollbar to "none" in the "Scroll Rect" script "solve" the issue (but you'd need to set some visual content in Content to see that by yourself)