Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Enable Hierarchy V2 (Unity > Settings > General > Use new Hierarchy window)
- Type anything into the Hierarchy V2 search bar
- Click the "x" button on the right side of the search bar to delete the text
- Observe the search bar
Actual results: The "x" button remains visible even after the text is already deleted
Expected results: The "x" button disappears after being pressed and deleting all the text
Reproducible with versions: 6000.3.0a6
Tested on (OS): macOS Silicon Sequoia 15.6
Notes:
- The "x" button remains even if clicked somewhere else in the Hierarchy V2 or Editor
- The "x" button disappears when clicked again after step 4
- Does not reproduce if pressing backspace/delete on the keyboard instead of clicking the "x" button