Search Issue Tracker
Not Reproducible
Votes
0
Found in
2021.3.40f1
2022.3.35f1
6000.0.8f1
6000.1.0a7
6000.2.0a1
6000.3.0a1
Issue ID
UUM-74816
Regression
No
[UI Toolkit] ScrollView scroll offset gets reset to 0 when resetting DisplayStyle from Flex to None to Flex
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene.unity” scene
3. Enter the Play Mode
4. Scroll down in the red area of the Game View, till you see both black and red areas
5. Click the blue button to set the DisplayStyle to None
6. Click the blue button to reset the DisplayStyle to Flex
Expected results: ScrollView scroll offset stays the same after setting the DisplayStyle to None and resetting it back to Flex
Actual results: ScrollView scroll offset gets reset to 0
Reproduced with: 2021.3.40f1, 2022.3.35f1, 6000.0.8f1
Reproduced on: Windows 10
Notes:
- In Editor, using a normal mouse with the usual mouse scroll it is really hard to reproduce. Using a mouse with a flywheel makes the reproduction easier.
- On a mobile touchscreen, this issue is reproducible every time (tested with an Android)
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
- “Client And Server” shown without spaces in Active Scenario window
- [Linux] Mouse cursor gets stuck at the edge of the screen when trying to pan in the Scene view
- Docked Multiplayer Play Mode window disappears when switching back to a saved Editor layout
- Audio files fail to be imported when the file path is 260 characters or longer
- Error SGICE002 is wrongly shown when more than one argument is passed into GetComponentRW()
Resolution Note:
Could not reproduce on 6000.3.0a2 and 6000.0.52f1 with Windows 11
I was able to reproduce on 2022.3.62f1 and 2022.3.64f1. I suspect it's been fixed by another bug.