How to reproduce:
1. Create a new Unity project
2. In the Project window, right-click -> Create -> Shader Graph -> Any Shader Graph
3. Select the created Shader Graph
4. In the Inspector, near the "Compile and show code" open the dropdown
Expected results: The section is expanded
Actual results: The section is not expanded
Reproducible with: 6000.0.25f1, 6000.0.74f1, 6000.3.14f1, 6000.4.6f1, 6000.5.0b7, 6000.6.0a4
Not reproducible with: 6000.0.24f1
Reproducible on: macOS Tahoe 26 (M1)
Not reproducible on: No other environment tested
Note: In 6.0, the Editor freezes for a shorter time compared to the newer streams, it might take over 10 minutes to unfreeze in 6.6