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

AutoComplete hides prematurely

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0
    • 3.0
    • Forms Library
    • MOODLE_30_STABLE
    • MOODLE_30_STABLE
    • wip-MDL-51919-master
    • Hide
      1. Check out this commit for testing this fix https://github.com/ryanwyllie/moodle/commit/dcece3952d155c6926e33689551e6d9710dcbd9d
      2. Open test.php file.
      3. Place the cursor in the "Tags" field.
      4. Tab onto the next field.
      5. Immediately tab back.
      6. Press the down key (within 500 msecs of tabbing away in the first place).
      7. The suggestions list should be opened. It should not shortly disappear.
      Show
      Check out this commit for testing this fix https://github.com/ryanwyllie/moodle/commit/dcece3952d155c6926e33689551e6d9710dcbd9d Open test.php file. Place the cursor in the "Tags" field. Tab onto the next field. Immediately tab back. Press the down key (within 500 msecs of tabbing away in the first place). The suggestions list should be opened. It should not shortly disappear.

      1. Open test.php file
      2. Place the cursor in the "Tags" field
      3. Tab onto the next field
      4. Immediately tab back
      5. Press the down key (within 500 msecs of tabbing away in the frist place)
      Expected behaviour

      The suggestions list is opened

      Actual behaviour

      The suggestions list opens, but is closed almost immediately

      Proposed solution:

      In addNavigation, in the 'blur focus' handler, check whether the suggestions list is currently open.
      This should take place before any of the timer cancellation.

            abgreeve Adrian Greeve
            dobedobedoh Andrew Lyons
            cameron1729 cameron1729
            Dan Poltawski Dan Poltawski
            John Okely John Okely
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.