Reproduction steps:
1. Open the attached “IN-72875.zip” Project
2. Navigate to the UI Builder Window (Window > UI Toolkit > UI Builder)
3. Select the “Toggle” element from the UI Builder Hierarchy
4. Navigate to the Text property under the Attributes option in the Inspector
5. Delete the text in the Text property
Expected result: The text gets deleted
Actual result: The first letter of the text does not get deleted, the cursor jumps over the letter
Reproducible with: 2023.3.0b7, 6000.0.0b14
Not reproducible with: 2021.3.37f1, 2022.3.23f1, 2023.2.18f1, 2023.3.0b6
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- The letter is not visible in the Viewport, but it remains visible in the Inspector. However, after saving the Test.uxml document by pressing Ctrl+S, the letter reappears in the Viewport, but if the save is done by File > Save, the text gets deleted fully
- Restarting the editor also deletes the text fully