Reproduction steps:
- Open the attached project (“EnumInspectorBug.zip“)
- Select Scene “Assets/Scenes/SampleScene“
- Select GameObject “Test”
- In the Inspector window select “Test” component
- In the List “Array“ select the List item “Test Type”
- Change value from “First” to “Second
Expected result: List item deselects when value is changed
Actual result: List item “Test Type” becomes permanently selected
Reproducible with: 2022.2.0a9, 2022.2.0b12, 2023.1.0a14
Not reproducible with: 2020.3.41f1, 2021.3.11f1, 2022.1.20f1, 2022.2.0a8
Reproducible on: Windows 11
Notes: If the List item is pressed the second time when it's highlighted in blue, the Inspector window breaks