Strapi admin panel freezes and stops working when searching in a closed dropdown menu
## Bug report

### Required System information

- Node.js version: v18.20.4
- NPM version: 10.7.0
- Strapi version: v5.5.1
- Database: sqlite (default configuration)
- Operating system: Ubuntu 22.04.4 LTS
- Is your project Javascript or Typescript: Typescript

### Describe the bug

The Strapi admin panel becomes unresponsive when performing a search in a relational field while the dropdown displaying relation items is closed. This issue prevents further interaction with the page and forces the user to refresh the browser.

### Steps to reproduce the behavior

1. Open the **Content Manager** in the Strapi admin panel.
2. Navigate to a collection type that includes a relation field.
   - For example, the **Article** entity created during the Strapi setup (`npx create-strapi@latest project`).
3. Ensure the relation dropdown is **closed but focused**.
   - Double-click on the dropdown to focus it and begin typing.
4. Use the search bar to filter relation items.
5. Observe that the admin panel freezes, and no further interactions are possible.

### Expected behavior

The search should filter relation items smoothly, without causing the admin panel to freeze, regardless of whether the dropdown is open or closed.

### Screenshots
- In the video the problem occurs the second time I start typing in the input.

https://github.com/user-attachments/assets/2cfd9c77-926a-4b73-9d8e-4f21ec617a87


