Reproduction steps:
1. Create a new project
2. Create a Standard Element (e.g. GameObject > UI Toolkit > Standard Elements > Button) and save UXML file
3. Double-click on the Standard Element's name in the Hierarchy
4. Enter a name and press Enter
5. Double-click on the Standard Element's name in the Hierarchy again
6. Place the caret at the end of the existing name, add a few characters and press Enter
Actual result: Standard Element's name remains unchanged
Expected result: Standard Element is renamed
Reproducible with: 6000.6.0a7, 6000.6.0b8, 6000.7.0a4
Couldn’t reproduce with: 6000.0.81f1, 6000.3.22f1, 6000.5.8f1, 6000.6.0a6 (No Standard Elements option)
Reproduced on: Ubuntu 24.04, macOS Tahoe 26.5 (M4)
Note:
- Issue is not reproducible in UI Builder
- Issue is not reproducible when the existing name is replaced with a completely different name
- Adding characters to the existing name works as expected when renaming the Standard Element via the Name field in the Inspector