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

Scroll to newly added activity

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.3, 3.4.4, 3.4.5, 3.5, 3.5.1, 3.5.2
    • Fix Version/s: None
    • Labels:
      None
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE

      Description

      After creating a new activity or resource on a course with a lot of content, the page scrolls to the top, completes loading and the scrolls to the newly added activity or resource.

      This can be a issue for some teachers if they work faster than the page loads. Teachers can add new activities before the page completed loading, which will result in teachers adding new activities to the wrong sections (due to believing that they were already taken to the place on the course where the previous activity was created).

      This issue can be recreated when added a new activity anywhere in a course with a lot of content. After creating the new activity/resource, the course is reloaded which then "jumps" around until loading is completed, where after the page scrolls to the new activity or resource.

      I am guessing that this is due to the javascript scrolling begin effective only after the page have been loaded completely.

      The only work around is to tell teachers to be more patient and wait until the page loaded completely.

      A suggestion would perhaps be a loading icon or some form of in-between screen that allows loading to complete, before scrolling to the newly added resource/activity. Teachers would then be unable to scroll before loading completes, which will mitigate the "jumping around" problem 

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jaco-louis Jaco-Louis
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, 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: