How to reproduce:
1. Open the project from comments or create a project and set up "Terrain Tools"
2. Enter Scene "SampleScene"
3. Create and/or select a Terrain GameObject
4. Click on a dropdown arrow in Scene View near any of the "Brush Attributes" to open and close it
Actual result: Dropdown menu closes and immediately opens back up again
Expected result: Dropdown menu closes
Reproducible with: 2023.1.0b3, 2023.2.0a2