How to reproduce:
1. Open the “IN-90487-Scroll Bar.zip“ project
2. Open the “SampleScene“
3. Select the “Scrollbar Vertical“ GameObject to the right of the “Journal“ in the Scene view
4. Change the “Number Of Steps“ field to any number except 0 in the Scrollbar Component in the Inspector
5. Enter Play Mode
6. Scroll in the Scroll view with the Mouse scroll wheel on a low speed
7. Observe the “Value“ field in the Inspector
Expected result: Value is not set to a predetermined value, making “stepped“ scrolling dysfunctional
Actual result: Value changes insignificantly and returns to a predetermined value
Reproducible in: 2021.3.47f1, 2022.3.54f1, 6000.0.31f1, 6000.1.0a8
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- Scrolling by dragging works as expected
- If the number of steps is set to 2, scrolling with the Mouse is practically impossible as the delta on the scroll would not be enough to jump 0.5 units of value in one frame because the value snaps to either 0 or 1
- The ability to scroll depends on the size of the Content GameObject Rect