Closed
Description
p5.js version
1.11.1
What is your operating system?
Windows
Web browser and version
132.0.6834.160
Actual Behavior
When a file’s dropdown menu (Rename/Delete options) is opened, clicking outside on another file or anywhere else does not close the dropdown. The down arrow icon has to be clicked again and that is the only way to hide the dropdown menu.
Here, even though I've clicked elsewhere, the dropdown menu remains open.
This can lead to multiple dropdowns staying open, creating a cluttered UI. The user will have to click on every single down arrow to close the file, which is unnecessary and time consuming.
Expected Behavior
The dropdown should automatically close when the user clicks anywhere else outside the dropdown or opens another file’s dropdown.
Steps to reproduce
Steps:
- Open the sidebar
- Click on the down arrow icon
- Click on another down arrow icon or click elsewhere