How to reproduce:
1. Create a new Unity project and install the VFX Graph package
2. Create any VFX Graph and open it
3. Navigate to any block, e.g. "Update Particles"
4. Double-click on the name to enter the renaming
5. Enter anything and press the "Enter" key
Expected results: The name is confirmed
Actual results: New line is added
Reproducible with: 6000.0.60f1, 6000.2.8f1, 6000.3.0b7, 6000.4.0a3
Reproducible on: macOS Sequoia 15.6 (M1)
Not reproducible on: No other environment tested
Note: Since this is the name, and it is unlikely to have paragraphs there, "Enter" should confirm it. Similar behaviour can be observed in the Sticky Notes, where in the name "Enter" confirms the string, while in the description it creates a new line