Unity Issue Tracker - TreeView binding breaks when using negative scrollOffset
Fixed
UUM-12868
TreeView binding breaks when using negative scrollOffset
Unity: UI Toolkit Controls
Fixed
2023.2.X
2023.1.X
2022.2.X
Won't Fix
2022.1.X
Port canceled as we transition to 2022.2 (2022.2.X port is active or already resolved)
How to reproduce:
1. Open the attached “IN-7226.zip” project
2. Open the “NegativeScrollTestWindow” (Window → Environment → NegativeScrollTestWindow)
3. Press the “break scroll” button
Expected result: The TreeView Binding is correctly aligned with the name
Actual result: The TreeView Binding is unaligned
Reproducible with: 2022.1.14f1, 2022.2.0b6, 2023.1.0a9
Couldn’t test with:
2020.3.39f1 (Error: Tuple must contain two elements)
2021.3.8f1 (Code not accessible due to protection level)
Reproduced on: macOS Monterey 12.0.1
Note:
To reset alignment press the “unbreak scroll” button
2022.1 is always unaligned but numbering is correct
2023.1 is always unaligned and when “breaking” the negative numbering starts from -1 and not 0
Prioritise and Follow this issue
Have a workaround or additional info about this issue?