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

Pressing escape on the AutoComplete suggestions list loses focus

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Forms Library
    • Labels:
    • Affected Branches:
      MOODLE_30_STABLE

      Description

      Compare with a standard dropdown.

      Steps
      1. Open test.php
      2. On the 'Tags' field, press down
      3. Press Escape
      Expected behaviour
      1. The list is closed
      2. Focus is returned to 'Tags' field
      Actual behaviour
      1. The list is closed
      2. Focus is lost (this can be confirmed by pressing tab)

      Pressing escape once the list is closed should lose focus, but when the list is open the focus should be returned to the input element which opened it.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: