Steps to reproduce:
- Open the "UiToolkitUXIssue.zip" project
- Open the "SampleScene"
- Open the 'Window -> UI Toolkit -> Debugger' window
- Enable on 'Pick Element' in the UI Toolkit Debugger
- Select the top left square in the Game view
- Scroll up and down/left and right in the UI Toolkit Debugger's Hierarchy
- Observe the UI Toolkit Debugger's Hierarchy
Actual results: Hierarchy scrolls to the selected element
Expected results: Hierarchy scrolls freely
Reproducible with versions: 6000.7.0a3
Not reproducible with versions: 6000.0.80f1, 6000.3.20f1, 6000.5.5f1, 6000.6.0b5, 6000.7.0a2
Tested on (OS): Windows 11 Pro (25H2)
Notes:
- This is most consistently reproduced on UI Debugger's Hierarchy, hence the reproduction steps. But this is reproducible in UI Builder too for example. To reproduce the issue there, add another VisualElement to the last element in the 'Assets/NestedSquares.uxml' file
- In UI Builder, the issue is more severe, as after reproduction, any element can be selected, and the issue will still reproduce until anything is selected in the viewport