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

Sticky the table of contents (TOC) block in the Book activity

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 3.9.2, 3.11, 4.0
    • Book
    • MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE

      Title: The table of contents block loses visibility when scrolling the page

      As a user, I would like to scroll the content of the page in the book without losing sight of the summary, so I could switch between pages and identify where I am quickly.

      --------------
      Acceptance Criteria

      Scenario A: When scrolling the page content in a book activity, the table of contents should remain visible until the end of the page.

      Scenario B: When I access a book activity with many chapters whose table of contents extends beyond the screen, I should be able to view all chapters without moving the content of the active page.

      Scenario C: When I access a book activity with many chapters whose table of contents extends beyond the screen, there should be an indication that there are more chapters.

      Scenario D: When scrolling the page content in a book activity and there are other blocks below the TOC, all blocks must be visible when scrolling the page, if there is vertical space for that. If the set of blocks (TOC + others) extend beyond the screen, normal scrolling without sticky.

      Suggestions
      Use the CSS sticky element in conjunction with the overflow element for the Book's TOC block. Additionally, to indicate the existence of extra chapters that go beyond the screen area, add a shadow scroll. (working in code solution...)

            Unassigned Unassigned
            uaiblaine Anderson Blaine
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 minutes
                5m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.