How to reproduce:
1. Create a new 3D (HDRP) Project
2. Create a new VFX Graph (Right-click in the Project Window -> Create -> Visual Effects -> Visual Effect Graph)
3. Choose any template
4. Open the newly created VFX Graph
5. Right-click to open the context menu
6. Click the Create Node button
7. Select any parent node in tree view, press enter
8. Observe tree item is still highlighted
Expected result: Navigating the menu with the keyboard works as expected
Actual result: Navigating the menu with the keyboard sometimes does not work when pressing Enter on any tree element makes it so that you cannot open it with the arrow keys.
It is a confusing design to keep the tree item selected as user might expect that usual keymap would still work.
Reproducible with: 17.0.2 (2023.3.0b4)
Reproducible on: macOS Sonoma 14.2.1 (M1)
Bonus issue:
- Press toggle subvariants button
- Press up and down keys
- Observe focus doesn't jump back to a tree view