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

Filepicker - No valid focus target found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.2, 3.2.1, 3.2.2, 3.2.3
    • Accessibility, Filepicker
    • MOODLE_32_STABLE
    • Hide

       

      Show
       

      Hello,

      When a user accesses to the filepicker and then closes it, the focus is not set on the button that opened the dialog.
      The console log said "moodle-core-widget-focusafterhide: No valid focus target found - not returning focus."

      Is it possible to fix it ?

      How can I patch it by myself while waiting for a better solution ?

      Thank's

       
      Steps to reproduce:

      • Create a new Assignment module
      • Using the keyboard to tab through the form, enter a title, then open the file manager and select a file.
      • Tab to "Upload this file" button and press enter.
      • Expected: The file manager is closed, and focus returns to the button that opened it.
      • Actual: The file manager is closed, and focus is moved to the top of the page.

            Unassigned Unassigned
            Trolli Olivier Piton
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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