Steps to reproduce:
- Create a 2D/3D URP project
- Add any object in the "Hierarchy" window
- Select it and make a right-click
- In the contextual menu search input field enter "aa"
- Observe the window
- Add an additional "a" to the search
- And again observe the window
Expected Result: Window size always should be adjusted to the results list.
Actual Result: The window stays big/high after step 4 even it is empty. Added screenshots and video in the "Attachments" section.
Reproducible with: 2023.2.0a15, 2023.2.0a19
Not Reproducible with: 2023.2.0a14, 2023.1.0b20, 2022.3.2f1, 2021.3.27f1
Confirmed OS: MacOS Monterey.