Steps to reproduce:
- Select a Game Object in a Scene
- Click "Add Component" Button
- Click a category to enter it (e.g. "Physics")
- Click elsewhere in the Inspector to close the menu without selecting anything
- Click "Add Component" again to reopen the menu
- Observe the header: a back "<" arrow is now present at the top level
- Repeat steps 3-5 several times
Actual results: A back "<" arrow appears at the top level of the menu where there is
no parent to return to. Clicking it just re-shows the same list. Each open/close cycle
adds another phantom level, so the "<" can be clicked more and more times (each landing on a ghost copy of the list). After ~7 cycles it reproduces permanently every time the menu is opened.
Expected results: Opening the Add Component menu starts at the top level with no back "<" arrow. Reopening the menu does not accumulate phantom navigation levels.
Reproducible with versions: 6000.0.77f1, 6000.3.16f1, 6000.4.12f1, 6000.5.0f1, 6000.6.0a7
Tested on (OS): Windows 11
Notes:
- The menu must be closed by clicking away (without selecting), then reopened, for the
state to accumulate.