processing / p5.js-web-editor

The p5.js Editor is a website for creating p5.js sketches, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else! You can create, share, or remix p5.js sketches without needing to download or configure anything.
https://editor.p5js.org
GNU Lesser General Public License v2.1
1.36k stars 1.32k forks source link

ProjectOptions should be closed on losing focus but it's not working #3204

Closed suprabhat15 closed 1 month ago

suprabhat15 commented 1 month ago

p5.js version

No response

What is your operating system?

Mac OS

Web browser and version

Google Chrome: 126.0.6478.185 (Official Build) (arm64)

Actual Behavior

On clicking anywhere in the UI apart from ProjectOptions, it should be closed but it's not happening.

image

Expected Behavior

ProjectOptions should be closed when a user clicks outside of it (i.e., on losing focus).

Steps to reproduce

  1. Click on + icon which in response opens ProjectOptions.
  2. Click outside of ProjectOptions and it don't go away. image
welcome[bot] commented 1 month ago

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.