Steps to reproduce:
- Create a new URP project
- Create a new Lit Shader Graph (Assets > Create > Shader Graph > URP > Lit Shader Graph)
- Right-click and add Sample Gradient node
- Click on the Color Picker property next to Gradient (G)
- Observe the HDR Gradient Editor window opens
- Click on the Color property to open Color Picker
- Make any change
- Click Undo/Ctrl+Z
- Observe the Color Picker window
Actual results: The Color Picker window closes
Expected results: The Color Picker window remains open
Reproducible with versions: 6000.0.78f1, 6000.5.1f1
Can’t test with versions: 6000.3.18f1, 6000.4.12f1, 6000.5.0f1, 6000.6.0a7 (this issue can only be observed after [Internal link] fix, because before the fix, the whole window would close)
Tested on (OS): Ubuntu 24.04, macOS 26.5