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

Unable to scroll page surrounding IMS LTI Object

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Please test in themes boost and clean and on a few popular mobile and desktop browsers

      1. Add an instance of external tool
      2. Set the launch url to http://lti.tools/test/tp.php
      3. Click 'Show more' under 'General' and change 'Launch container' to 'embed'
      4. Save and display
      5. Confirm that you can scroll up and down on your page
      6. Confirm that you can scroll up and down in the tool iframe
      7. Edit the activity again, this time setting 'Launch container' to 'embed without blocks'
      8. Save and display
      9. Confirm that you can see the entire tool. Depending on the theme, there may or may not be a page scroll bar - this is ok.
      Show
      Please test in themes boost and clean and on a few popular mobile and desktop browsers Add an instance of external tool Set the launch url to http://lti.tools/test/tp.php Click 'Show more' under 'General' and change 'Launch container' to 'embed' Save and display Confirm that you can scroll up and down on your page Confirm that you can scroll up and down in the tool iframe Edit the activity again, this time setting 'Launch container' to 'embed without blocks' Save and display Confirm that you can see the entire tool. Depending on the theme, there may or may not be a page scroll bar - this is ok.
    • Workaround:
      Hide

      Change the CSS attribute applied to the page body from overflow: hidden; to overflow: auto;.

      This CSS change is set in some embedded JS at line 129 of /mod/lti/view.php

      Show
      Change the CSS attribute applied to the page body from overflow: hidden; to overflow: auto; . This CSS change is set in some embedded JS at line 129 of /mod/lti/view.php
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-33960-lti-scroll

      Description

      When an IMS LTI object is embedded on a Moodle page with blocks shown, the overflow of content around the page is not able to be accessed by scrolling.

      It is possible to scroll within the IMS LTI Object, but not in the page it is embedded in.

      Replication steps:

      1. Log in as admin
      2. Create an External tool activity using the steps described in MDLQA-2041. Be sure to set the "Launch Container" setting to "Embed".
      3. Reduce the size of the browser so that the Navigation and Settings blocks exceed the height of the page
      4. Attempt to scroll the containing activity page

      Expected result: the page should be scrollable.

      Actual result: the page cannot be scrolled.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jan/17