https://bugzilla.wikimedia.org/show_bug.cgi?id=32731

       Web browser: ---
             Bug #: 32731
           Summary: WikiEditor dropdowns should behave normally, closing
                    when they lose focus or when ESC is pressed
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikiEditor
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Created attachment 9582
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9582
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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to