Steps to reproduce:
1. Open the user-attached “Bug - Esc on rect transform.zip” project
2. Open the "SampleScene"
3. In the Hierarchy, select the "Test" GameObject (child of "Canvas")
4. In the Inspector, click on the "Left" property of the “Rect Transform” component and write "300"
5. Press the Esc key to cancel the change
6. Observe the "Right" and “Left” property values
Expected result: The value of "Left" is reset to the original one (0), and no other properties are changed
Actual result: The value of "Left" is reset but the value of "Right" is set to -150
Reproducible with: 2022.2.0a11, 2022.3.13f1, 2023.1.20f1, 2023.2.0f1, 2023.3.0a14
Not reproducible with: 2021.3.32f1, 2022.2.0a10
Reproduced on: Windows 11 Pro (22H2)
Not reproduced on: No other environment tested
Notes:
- To reset the changes, 2 consecutive undo operations need to be performed: firstly, “Undo Modified RectTransform Values”, and then “Undo Set Float Values”
- Reproducible in a new project