How to reproduce:
1. Open attached project "IN-120349"
2. Open the "SampleScene"
3. Expand the "Canvas" GameObject in the Hierarchy tab
4. Select the "Text (TMP)" GameObject in the Hierarchy tab
5. In the Inspector, reduce the Width field value to less than 40
6. Observe the Editor
Expected result: Editor does not freeze
Actual result: Editor freezes
Reproducible with: 6000.0.60f1, 6000.2.2f1, 6000.2.8f1, 6000.3.0b6, 6000.4.0a2
Not reproducible with: 6000.2.1f1
Reproducible on: Windows 10 (by user), Windows 11
Not reproducible on: No other environments tested
Note: also reproducible in Player