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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.