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

Assignment grading comments textarea should automatically reduce size when removing text

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.5, 3.3.2, 3.4
    • Fix Version/s: 3.4
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide
      1. As a teacher, edit an assignment submission using the grading interface.
      2. Create a comment annotation and insert some text such that the comment expands downwards vertically, growing in height.
      3. Now, using backspace, just delete some of the text you wrote (as if correcting a mistake,etc)
      4. Confirm that the comment box resizes (shrinks) as the text is reduced
      Show
      As a teacher, edit an assignment submission using the grading interface. Create a comment annotation and insert some text such that the comment expands downwards vertically, growing in height. Now, using backspace, just delete some of the text you wrote (as if correcting a mistake,etc) Confirm that the comment box resizes (shrinks) as the text is reduced
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-60124-master

      Description

      Not sure why this isn't the case, but it means if you delete comment text you don't see the comment size decreasing. If you collapse and re-expand the comment however, this does occur. I think this should also happen live. That is, when editing the comment.

       

      1. Edit a comment and type about 10 lines of text. Notice it grow.
      2. Delete some of the text, and notice it doesn't shrink like one might expect.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jaked Jake Dallimore
              Reporter:
              jaked Jake Dallimore
              Peer reviewer:
              Adrian Greeve
              Integrator:
              Jun Pataleta
              Tester:
              Ankit Agarwal
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17