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

Pressing escape on the AutoComplete suggestions list loses focus

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not a bug
    • 3.0
    • None
    • Forms Library
    • 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

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: