Typed key edit is discarded when the row's Value foldout is expanded before the key is committed
Unity: Serialization
As Designed
6.7.X
When clicking the foldout the view is re-sorted as the key has changed. This might make it look like the type key is discarded, but it just moved to a new row after the sort.
How to reproduce:
1. Open the attached project "DictTest"
2. Open the "SampleScene" scene
3. Select the "IMGUIDictTester"
4. In the Inspector, expand the "Foldout Dict" and add at least one entry
5. Enter any key and don't confirm it
6. Click on the "Value" foldout and observe the key field
Expected results: The key value is confirmed
Actual results: The key value disappears
Reproducible with: 6000.7.0a4
Can't test with: 6000.0.81f1, 6000.5.7f1, 6000.6.0b7 (No feature)
Reproducible on: macOS Tahoe 26 (M1)
Not reproducible on: No other environment tested
Note: Reproducible both in IMGUI and UI Toolkit drawers
Prioritise and Follow this issue
Have a workaround or additional info about this issue?