Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34677

Filepicker needs to workaround Y.Panel hideOn if not fixed in upstream YUI for next release

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3, 2.7.3, 2.8.1, 2.9
    • Fix Version/s: FRONTEND
    • Component/s: Filepicker
    • Labels:

      Description

      Filepicker uses a Y.Panel as it's main interface
      Y.Panel automatically binds to the escape key to close the dialogue, but unfortunately does so on a 'key' event instead of a 'keydown'. As a result, certain browsers will exit full screen as they interpret the event.

      This is reported upstream to YUI in http://yuilibrary.com/projects/yui3/ticket/2532616 but if it isn't fixed for next release and we don't get that version of YUI into moodle, we'll have to work around it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dobedobedoh Andrew Lyons
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: