Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

annotation style window doesn't close if clicked outside #63

Open
katjaq opened this issue Oct 13, 2017 · 2 comments
Open

annotation style window doesn't close if clicked outside #63

katjaq opened this issue Oct 13, 2017 · 2 comments

Comments

@katjaq
Copy link
Collaborator

katjaq commented Oct 13, 2017

Current behaviour:
The color picker opens when clicking on the color rectangle next to the region's name in the ontology list. It closes when you click on the rectangle again, or when you click okay inside the color picker window.
However, it doesn't close when clicking somewhere else in the viewer, anywhere outside the color picker window.
It also doesn't update color information if I just select another region once the color picker is open.

Expected behaviour:
color picker window closes when clicking anywhere outside its boundaries.
color picker updates information if user clicks another region to this region's fill and stroke color.
and it closes on okay button and on rectangle as it currently does.

@r03ert0
Copy link
Owner

r03ert0 commented Oct 14, 2017

maybe use some sort of modal dialog instead of the current method? (which is just opening a div). I don't know if there's a nice library with modal dialogs... jquery ui could be an option, but i'd prefer something lighter...

@xgui3783
Copy link
Collaborator

xgui3783 commented Oct 14, 2017 via email

ntraut added a commit to ntraut/microdraw that referenced this issue Aug 26, 2022
Lock neuroweblab to the right version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants