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

Drag-drop into text: minor glitches caused by MDL-68113

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.9
    • 3.9
    • Questions
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Hide

      Set up

      1. Log in as teacher or admin.
      2. Create a test course (or use an existing one)
      3. Create a Drag and drop into text question in the question bank. (https://docs.moodle.org/38/en/Drag_and_drop_into_text_question_type)

      Testing

      1. In the question bank, for the created question, click 'Edit -> Preview'.
      2. Preview the question.
      3. Use Tab key to select a drop.
      4. Press the Right arrow key repeatly.
      5. Verify that all the drags and drops still visible on the page.
      6. Press the Left arrow key repeatly.
      7. Verify that all the drags and drops still visible on the page.
      8. Verify the old item will animate to the home area, and the new one will animate to the drop.
      Show
      Set up Log in as teacher or admin. Create a test course (or use an existing one) Create a Drag and drop into text question in the question bank. ( https://docs.moodle.org/38/en/Drag_and_drop_into_text_question_type ) Testing In the question bank, for the created question, click 'Edit -> Preview'. Preview the question. Use Tab key to select a drop. Press the Right arrow key repeatly. Verify that all the drags and drops still visible on the page. Press the Left arrow key repeatly. Verify that all the drags and drops still visible on the page. Verify the old item will animate to the home area, and the new one will animate to the drop.

    Description

      Since MDL-68113 was done, there are some issues: (there is a useful big-drag-drop-question.xml attached to that issue, wich you can use to test this).

      1. If you answer the question using the keyboard (Tab to a drop-zone, and use the arrow keys to cycle through the choices), then if you press left-arrow repeatedly to go thorugh the choices in reverse order, then sometimes the drop boxes disappear.
      2. If you press either arrow key very fast, things break (keyboard focus goes away, and the drop box disappears.)
      3. Also, when changing items with the keyboard, as well as the old item animating smoothly back to where it came from (which works) the new item should animate smootly into place too (which is not happening). We can live without this last point, but it is nicer if it can work.

      Attachments

        Issue Links

          Activity

            People

              HuongNV Huong Nguyen
              timhunt Tim Hunt
              Tim Hunt Tim Hunt
              Andrew Lyons Andrew Lyons
              Anna Carissa Sadia Anna Carissa Sadia
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 40 minutes
                  40m