Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38012 META: Simplify moodle forms
  3. MDL-38308

When opening a form section, auto-scroll so the whole section is visible

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_25_STABLE

      Description

      If, once a section of the form has been opened, the bottom of that section would be outside the browser viewport, we should automatically scroll the page down so that the whole section is just visible.

      However, if the section is too tall to fit in the viewport, then we should not scroll the top of the section out of view. We should scroll down so the top of the expanded section is at the top of the viewport.

        Attachments

          Activity

            People

            Assignee:
            moodle.com moodle.com
            Reporter:
            timhunt Tim Hunt
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: