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

Toast wrapper can interfere with Forum grading buttons

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.8.1
    • 3.8.2
    • Forum
    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • MDL-67511-master
    • Hide
      1. Login as an editing teacher or administrator
      2. Create a Forum with "Whole forum grading" enabled in any course
      3. Ensure that some users are enrolled in the course
      4. Make the window extremely narrow (think the width of a phone)
      5. View the forum
      6. Press the "Grade users" button
      7. Try to interact with the buttons at the top of the page (Save/Close/etc)
        1. Confirm that you are able to use all of those features
      8. Open Developer Tools (F12 key)
      9. Open the Javascript console
      10. Run the following code:

        require(['core/toast'], function(T) { T.add('Example'); T.add('Another'); });
        

        1. Confirm that you see "Another" at the top, followed by "Example" underneath it
        2. Confirm that there is a gap between the top of the page and the first message
      Show
      Login as an editing teacher or administrator Create a Forum with "Whole forum grading" enabled in any course Ensure that some users are enrolled in the course Make the window extremely narrow (think the width of a phone) View the forum Press the "Grade users" button Try to interact with the buttons at the top of the page (Save/Close/etc) Confirm that you are able to use all of those features Open Developer Tools (F12 key) Open the Javascript console Run the following code: require(['core/toast'], function(T) { T.add('Example'); T.add('Another'); }); Confirm that you see "Another" at the top, followed by "Example" underneath it Confirm that there is a gap between the top of the page and the first message

    Description

      If the forum grading interface is on a narrow enough screen buttons in the grading interface are not clickable as one would expect (Only the bottom of them is)

      Attached is a screenshot showing the toasts area overlapping the buttons

      The green area is were the toast area is preventing clicking.

      Attachments

        Activity

          People

            dobedobedoh Andrew Lyons
            nmagill Neill Magill
            Shamim Rezaie Shamim Rezaie
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Anna Carissa Sadia Anna Carissa Sadia
            Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Mar/20

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 5 minutes
                2h 5m