Screenshot of WikiEditor with multiple dropdowns open at once
Dropdowns in WikiEditor open when clicked, but when the user clicks elsewhere on the page, the dropdowns do not close. This is contrary to the behavior of dropdowns everywhere else on the web. (On my own wiki, six users have filed bug reports -- with me -- thinking that the dropdowns are broken because they "don't close.")
This behavior leads to a strange experience where multiple dropdowns can be open at the same time. See screenshot showing our customized toolbar.
I asked Roan Kattouw about this, and he said this behavior is "not intentional. It's just that the dropdown is built with JavaScript (this is necessary to add styling to the options), and that means that the closes-when-user-clicks-somewhere-else behavior has to be implemented by the developer. We didn't implement this, but it wouldn't be too hard to do."
Ideally, the ESCAPE (ESC) key should also cause the selected dropdown to close, since that is also standard for web dropdowns.
So please make the dropdowns close as above.
Optionally, provide a user Preference that selects this behavior vs. the original behavior.
Thank you.
Version: unspecified
Severity: normal
Attached: